Find out the 3rd highest salary?
Answer Posted / srikanth
select * from (select e.*,rank() over(order by salary desc
nulls last) sal_rnk from employee e)where sal_rnk=3;
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Explain 3 basic parts of a trigger.
Write a query to display the current date in sql?
What is varchar sql?
What is sql performance tuning?
Explain normalization and what are the advantages of it?
Can a key be both primary and foreign?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
What does rownum mean in sql?
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
What are the types of queries in sql?
What is difference between left and right outer join?
how many sql dml commands are supported by 'mysql'? : Sql dba
how do you tune the slow running queries in oracle db , explain the methodology
What is nvarchar max in sql?
How to download oracle sql developer?