how to check the 3rd max salary from an employee table?
Answers were Sorted based on User's Feedback
Answer / manish_patil
select sal from emp_sal where rownum = 3 order by sal desc
| Is This Answer Correct ? | 6 Yes | 9 No |
Answer / tushar
select max(sal) from ( select sal from emp group by sal order by sal) where rownum<4;
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / nagendra
select min(sal) from emp where sal in( select top 3 sal
from emp order by sal desc)
| Is This Answer Correct ? | 2 Yes | 6 No |
Why cross join is used?
i have a table with column sno with 30 records. i want to update this column by item by item in asp.net. i wantto enter new values into that from 1 to 30 how is it possible with backend c#
Which column of the user triggers data dictionary view displays the database event that will fire the trigger?
can i give user defined exception in a package
what is the difference between varray and table data type..please expalain with some examples... under what situation you will go for varray..instead of index by table...
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
Which language is used in sql?
What is a memo field?
What is a database event trigger?
What is the differnce between view and materialized view
Inline the values in PL/SQL, what does it mean.?
What is the Subquery?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)