please give me the answer for this:
query which generates the second highest integer in the table?
Answer Posted / salil
Without using LIMIT
SELECT max( t1.col )
FROM `table` t1
WHERE t1.col < (SELECT max( t2.col ) FROM `table` t2);
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is mysql same as mariadb?
In which language it is written?
Is mysql free for enterprise?
What does blob mean in mysql?
Where is mysql data stored?
How to calculate expressions with sql statements?
How do I clear the command in mysql?
What are the 3 main types of search queries?
Is mysql a backend?
What is difference between mongodb and mysql?
How do you backup a database in mysql?
What is general log in mysql?
can you tell what are the different set operations available in mysql? : Mysql dba
How to get a list of columns in an existing table?
Is mysql better than oracle?