Chapter 1 · SELECT Basics
01. List All Products
Easy10 XPFreeE-Commerce
The product catalog team needs a quick inventory snapshot. Write a query that retrieves the name and price of every product in the store, sorted alphabetically by product name.
Tables
- PKidINT
- nameTEXT
- FKcategory_id→ categories.idINT
- priceREAL
- costREAL
- stock_quantityINT
- created_atTIMESTAMP
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.