I have a table called order which contains columns id, user_id, price. I would like to select each user’s most expensive order – the order for which that user paid the highest price. I want to select order.user_id and order.price in the same query.
I have a table called order which contains columns id , user_id , price
Share
1 Answer