Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- name,
- MAX(price) as max_price
- FROM
- products_data_all
- GROUP BY
- name
- ORDER BY
- max_price DESC
- LIMIT
- 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement