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
What is view in mysql?
Is mysql running ubuntu?
How will show all records containing the name "sonia" and the phone number '9876543210'
Can you tell a way to know the number of days between the two given dates in php?
What is a scalar function?
How to represent ENUMs and SETs internally?
What is the datatype for password in mysql?
How do I start mysql?
What is mysql community server?
What is blob in mysql?
How to use regular expression in pattern match conditions?
What is mysql in linux?
What is pdo :: fetch_assoc?
How do I clear a mysql database?
How do you rename a procedure in mysql?