Find out the 3rd highest salary?
Answer Posted / ratnakar
select max(sal) from emp a where 3=(select count(sal) from
emp b where b.sal >=a.sal;
| Is This Answer Correct ? | 10 Yes | 10 No |
Post New Answer View All Answers
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
Explain the structure of pl/sql in brief.
How many scalar data types are supported in pl/sql?
How are sql commands classified?
How would you pass hints to the sql processor?
How will you distinguish a global variable with a local variable in pl/sql?
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
What is the maximum size of sqlite database?
What is difference between my sql and sql?
What does the argument [or replace] do?
Which table is left in join?
What are its different types of dbms?
When are we going to use truncate and delete?
Define the select into statement.
What are the parts of a sql statement?