how to find the second highest salary from emp table?
Answer Posted / prasanthi
select * from (select rownum r,a.* from (select distinct
sal from emp order by sal desc)a)where r=&i
sql>enter i value(enter manually) 2
Is This Answer Correct ? | 54 Yes | 62 No |
Post New Answer View All Answers
What is crud sql?
What is embedded sql what are its advantages?
Explain the steps needed to create the scheduled job?
What is trigger point?
What is db journal file?
Does truncate need commit?
What is pl sql script?
What is application trigger?
What are the parts of a sql statement?
What are local and global variables and their differences?
what is a constraint? Tell me about its various levels. : Sql dba
Why we use stored procedure instead of query?
Can I create table without primary key?
Is primary key a clustered index?
how to create a new table by selecting rows from another table in mysql? : Sql dba