To find second largest salary in Employee table

Answer Posted / mohammad murtuza ali

select salary from employeetable where empsal is < max(salary)

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is table level trigger?

581


Differentiate between SQL and ORACLE joins and write their syntax.

587


What is the difference between dropping a database and taking a database offline?

694


What is b tree index?

511


How do I debug a stored procedure in sql server?

532






What is the server name in sql server?

555


What is the most common type of join?

524


can an automatic recovery be initiated by a user? : Sql server administration

513


What is built-in/administrator?

572


How to declare a cursor with "declare ... Cursor" in ms sql server?

565


What is partitioned view?

523


What is global temp table?

554


How do you migrate data from mssql server to azure?

151


What happens if null values are involved in string operations?

552


What is a database in ms sql server?

546