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
How do I know if mysql is running on windows?
State the differences between mongodb and mysql.
What are the purposes of using enum and set data types?
What is the data source name for mysql?
How to delete a database from mysql server.
How many ways to get the current time?
can you tell how can you display the maximum salary in sql? : Mysql dba
How to change a password for an existing user via mysqladmin?
What is mvcc in mysql?
What is different between sql and mysql?
How do I know if mysql is installed on windows?
Where is the mysql database stored?
What is a definer?
What is bigint in mysql?
What is the limitation of mysql?