please give me the answer for this:
query which generates the second highest integer in the table?

Answer Posted / richa

This is a general solution to nth level of salary

Select salary from (select salary from table order by salary
desc limit 3) tbl order by salary limit 1

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to make a column bigger and delete unique from table.

468


How do I quit mysql?

481


What do ddl, dml, and dcl stand for?

477


What is a scalar function?

524


What is heap table?

620






What is mysql connection limit?

508


Can you tell what are various ways to create an index?

456


How to execute mysql query in php?

470


Is pdo faster than mysqli?

464


Is mysql an oracle product?

474


how you will Create a database on the mysql server with unix shell.

550


How to define numeric 9(3) in db2 table without decimal point??

2391


What is the difference between now() and current_date()?

493


How to upload a large file through phpmyadmin in mysql?

424


How many rows can a mysql table hold?

493