how to get second highest salary in SQL(as/4000
Answer Posted / deepak
select max(sal) from emp where sal!=(select max(sal) from emp);
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
What is a table in a database?
What is procedure explain with program?
Is time a data type in sql?
What is dbo in sql?
What is database white box testing and black box testing?
Can delete statement be rollbacked?
what is auto increment? : Sql dba
Why functions are used in sql?
what is the difference between $message and $$message? : Sql dba
Why do we use sqlite?
what is a constraint? : Sql dba
What is the difference between unique and primary key constraints?
What is the file extension for sql database?
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?