Selecting top3 from a table [closed]
How to select top3 values from a table. Please let me know the query for selecting top 3 values of the table. Thank you.
SELECT * FROM table ORDER BY value DESC LIMIT 3
SELECT TOP 3 * FROM Table
Do you need the top 3 values based on some criterion?
SELECT TOP 3 * From table where col = value
精彩评论