Challenge: Product Table Exploration
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 3
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Product Table Exploration
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 3
single