how to get second highest salary in SQL(as/4000
Answer Posted / dharmendra
select max(salary) from table
where salary < (select max(salary) from table);
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why stored procedures are faster than query?
How will you distinguish a global variable with a local variable in pl/sql?
Mention what is the function that is used to transfer a pl/sql table log to a database table?
How do you remove duplicate records from a table?
What is sql data?
Explain table and field in sql?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
Are pl sql variables case sensitive?
How can I delete duplicate rows?
what is a constraint? : Sql dba
Explain what is an index?
Can you join views in sql?
what are date and time intervals? : Sql dba
What are field types?
How to run pl sql program in mysql?