Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Product Table Exploration | Getting Started with SQL and Databases
SQL for Data Analysis

bookChallenge: Product Table Exploration

Uppgift

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 products table.
  • Filter the rows to include only those where the category is 'Electronics'.
  • Order the resulting rows by the price column in descending order.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

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?

close

bookChallenge: Product Table Exploration

Svep för att visa menyn

Uppgift

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 products table.
  • Filter the rows to include only those where the category is 'Electronics'.
  • Order the resulting rows by the price column in descending order.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
single

single

some-alt