Skip to content
Advertisement

SQL max product price [closed]

I have a table of products and each record has the price it was sold at, which can vary

I want a query which will give be the max price at which product a was sold and max price at which product b was sold and nothing more

I have thousands of products so case will not help

Advertisement

Answer

Use MAX and Group By

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement