Challenge: Product Table Exploration
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 3
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Suggested prompts:
Can you explain that in simpler terms?
What are the main benefits of this approach?
Are there any common mistakes to avoid with this?
Mahtavaa!
Completion arvosana parantunut arvoon 5.56
Challenge: Product Table Exploration
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 3
single