I have a SQL database of products from different suppliers, so the same product could appear multiple times with different prices.
Is it possible to select all of the products that have more than 4 prices, so bascially all of the rows which have more than 4 rows with the same ID?
Yes, GROUP on the identificator for your item, and specify the number of prices to count in a HAVING clause, something like this :
You can then use this to later filter and get more information: