how to find the second highest salary from emp table?
Answer Posted / vinod
SELECT MAX(SAL) FROM TEST_123 WHERE SAL NOT IN (SELECT
MAX(SAL) FROM TEST_123)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sql catalog?
What is the difference between having clause and where clause?
What is multiple columns?
What is trigger types in sql?
explain the delete statements in sql
What are the subsets of sql?
What is a common use of group by in sql?
What is case function?
Can we create clustered index without primary key?
Can primary key be changed?
What is the difference between having and a where in sql?
what is a database? : Sql dba
Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?
What is an emotional trigger?
What are the basic sql commands?