Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Product Table Exploration | Getting Started with SQL and Databases
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Data Analysis

bookChallenge: 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 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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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?

close

bookChallenge: 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 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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
single

single

some-alt