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

Answer Posted / vardhan rao

With Limit: nth highest salary

Select distinct(salary) from tablename order by salary desc
limit n-1,1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unsigned in mysql?

504


How do I transfer data from one database to another in mysql?

489


What is mysql optimization?

480


what is mySQL. Is there any specific qualification required to do this course ? What is the scope in India after doing mySQL

947


How do I install mysql on windows 10 64 bit?

463






What is the difference between b-tree and hash indexes?

444


What is a session in mysql?

479


Create table employee (eno int(2),ename varchar(10)) ?

541


How to copy data from one server to another using php?

525


How do we delete a row in a table?

528


Do while loop in mysql procedure?

491


What is localhost in mysql?

527


What are the ways in which you can retrieve data in the result set of mysql using php?

496


What is the usage of "i-am-a-dummy" flag in mysql?

663


What are the reasons for selecting lamp (linux, apache, mysql, php) instead of combination of other software programs, servers and operating systems?

567