Categories
What would such a request look like?
For each car_id in the table, get the entry with the maximum date_stop. Returns only 1 row, but I need to unload for all car_id in the table SELECT car_id, MAX(date_stop) FROM table
SELECT car_id, MAX(date_stop) FROM table
Answer the question
In order to leave comments, you need to log in
... group by car_id
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question