Chapter 2 · Filtering
06. Search Products by Name Keyword
Easy10 XPE-Commerce
A customer is searching for products related to 'Pro' in the store. Find all products whose name contains the word 'Pro' (case-insensitive). Return the product name, price, and stock_quantity, sorted by price descending.
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.