how to get second highest salary in SQL(as/4000

Answer Posted / praveen agrawal

select sal from employee order by sal desc limit 1,1;

its 100% true i have checked it out.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is recursive join in sql?

554


explain the options of myisamchk to improve the performance of a table. : Sql dba

549


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3352


How do I view tables in mysql?

547


What type of database is sql?

617






what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

514


Do we need to create index on primary key?

471


Is crud a cuss word?

550


Why query optimization is needed?

521


What is a behavioral trigger?

517


Who developed sql?

572


How is sql used in oracle?

583


What is execute immediate?

551


What is sql prepared statement?

548


What is oracle sql called?

506