how to find the second highest salary from emp table?
Answer Posted / harish
select * from emp where 2=(select count(distinct sal) from emp s where s.sal>e.sal
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is sql a microsoft product?
what is the difference difference between procedure and packages
How do you run a query?
Why is %isopen always false for an implicit cursor?
Can we use delete in merge statement?
How to display the current date in sql?
What is mutating sql table?
What is a primary key called that is made up of more than one field?
Is drop table faster than truncate?
How can you create an empty table from an existing table?
What are inner and outer joins examples of both?
is mysql query is case sensitive? : Sql dba
Why coalesce is used in sql?
Is sql a scripting language?
how can we find the number of rows in a table using mysql? : Sql dba