S
S
sandul232022-04-12 15:14:22
MySQL
sandul23, 2022-04-12 15:14:22

How to select a record with a maximum value and a specific id in SQL?

How to solve this problem?62556d1da5fe6403104141.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2022-04-12
@sandul23

SELECT * FROM table WHERE group = 1 ORDER BY value DESC LIMIT 1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question