Find out the 3rd highest salary?
Answer Posted / ajay kumar
SELECT DISTINCT SAL FROM EMP WHERE SAL = (SELECT DISTINCT
SAL FROM EMP X WHERE &N= (SELECT COUNT(DISTINCT SAL) FROM
EMP Y WHERE Y.SAL>X.SAL))
/
AFTER RUNNING THE QUERY PUT THE VALUE OF N
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what are the different type of normalization? : Sql dba
How to fix oracle error ora-00942: table or view does not exist
how to get a list of columns in an existing table? : Sql dba
How to rename a column in the output of sql query?
How to display the current date in sql?
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
What is sql performance tuning?
What is a scalar value in sql?
What are the types of variables use in pl sql?
What is dynamic sql in pl sql?
What is sql select statement?
Which data type is a composite type?
What is the difference between pl and sql?
Why trigger is used in sql?
Explain the order of sql statement execution?