Sectionย 1. Chapterย 3
single
Challenge: Product Table Exploration
Swipe to show menu
Task
Swipe to start coding
Write a SQL query to select all columns from the products table for products in the Electronics category, and order the results by price in descending order.
- Select all columns from the
productstable. - Filter the rows to include only those where the
categoryis'Electronics'. - Order the resulting rows by the
pricecolumn in descending order.
Solution
Everything was clear?
Thanks for your feedback!
Sectionย 1. Chapterย 3
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat