how to get second highest salary in SQL(as/4000
Answer Posted / c srirammulu
select * from emp a where &n=(select count(distinct (sal))
from emp f where a.sal<f.sal)
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
what is user defined functions? : Sql dba
Explain what is table in a database?
What is the basic form of sql query?
Give the order of sql select?
How to fetch alternate records from a table?
What is before trigger?
How do I quit sql?
how to calculate the difference between two dates? : Sql dba
How do we use distinct statement? What is its use?
Can we create index on primary key?
What is cross join example?
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
Write the command to remove all players named sachin from the players table.
What is meant by cursor in sql?
What are the most important ddl statements in sql?