how to find the second highest salary from emp table?
Answer Posted / pradeep
select sal from emp
where rownum=2
order by sal desc
| Is This Answer Correct ? | 10 Yes | 50 No |
Post New Answer View All Answers
What are the advantages of indexing?
What are the steps for performance tuning.
Can I join the same table twice?
Define commit, rollback and savepoint?
What is a natural join?
Mention what is the use of function "module procedure" in pl/sql?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
Why stored procedure is better than query?
Explain how to use transactions efficiently : transact sql
Explain isolation levels. : Transact sql
What is procedure explain with example?
Can a composite key be null?
Write a query to find the names of users that begin with "um" in sql?
What is primary key and foreign key?
how to add a new column to an existing table in mysql? : Sql dba