Challenge: Product Table Exploration
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 3
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Product Table Exploration
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 3
single