how to find the second highest salary from emp table?
Answer Posted / subahar
SELECT MAX(average) AS Expr1
FROM sp
WHERE (average NOT IN
(SELECT MAX(average) AS Expr1
FROM sp AS sp_1))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is compound trigger?
Is record in pl sql?
What are the advantages of indexing?
what is the difference between join and union? : Sql dba
can sql servers linked to other servers like oracle? : Sql dba
Do foreign keys improve performance?
Are subqueries faster than joins?
What does rownum mean in sql?
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
What does dml mean?
How many commands are there in sql?
Is sql developer case sensitive?
Is sql similar to python?
What is mutating table error?
What are all ddl commands?