find out first highest salary?
Answer Posted / tulasi
select * from emp x where 1=(select count(distinct sal)
from emp y where x.sal<=y.sal);
query to find nth sal
select * from emp x where &n=(select count(distinct sal)
from emp y where x.sal<=y.sal);
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain the use of indexes option in imp command.
Is there an oracle sql query that aggregates multiple rows into one row?
How to see free space of each tablespace?
when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
interview questions with answer for cts
Explain a data segment?
What is oracle database 10g express edition?
Explain the dml?
What is recovery manager(rman) backup in Oracle?
What is translate in oracle?
What is the difference between online and offline backups?
How many types of cluster table in Oracle?
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
What is memory advisor in Oracle?