Categories
How to select a record with a maximum value and a specific id in SQL?
How to solve this problem?
Answer the question
In order to leave comments, you need to log in
SELECT * FROM table WHERE group = 1 ORDER BY value DESC LIMIT 1
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question