Find out the 3rd highest salary?
Answer Posted / kaushal kassi
select distinct a.sal
from employee a
where 3=(select count(distinct b.sal)
from employee b
where a.sal<=b.sal)
| Is This Answer Correct ? | 24 Yes | 12 No |
Post New Answer View All Answers
Why truncate is used in sql?
how to get a list of all tables in a database? : Sql dba
Compare sql & pl/sql
Is clustered index a primary key?
What does select top 1 do in sql?
Does oracle roll back the transaction on an error?
what is clause? : Sql dba
What is scalar data type in pl sql?
Why sql query is slow?
How many sql are there?
What is acid property in a database?
Does view contain data?
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
What port does sql server use?
What can you do with pl sql?