Skip to main content
All Problems
easy0% acceptance

Highest and Lowest Priced Products

The pricing analyst needs a quick snapshot of the product price range. Write a single query that returns the minimum price, maximum price, and the difference between them (as price_range).

Schema

🔑idINT
nameTEXT
🔗category_idINT
priceREAL
costREAL
stock_quantityINT
created_atTIMESTAMP
postgresql

Run your query to see results

Press Ctrl + Enter to execute