The catalogue page shows, for every product category, the price range of its items.
Write a query returning each category of products with its highest price as max_price and its lowest price as min_price.
category, max_price, min_priceMAX and MIN are aggregates, so they need GROUP BY category.
Both can appear in the same SELECT.
No results yet
Run your code to check it against the examples, or submit to run every test.