Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Analyze Price Distribution | Numeric Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL

bookChallenge: Analyze Price Distribution

Taak

Swipe to start coding

Write a query to find the minimum, maximum, and average product price from the products table.

  • Use the MIN function to get the lowest value in the price column.
  • Use the MAX function to get the highest value in the price column.
  • Use the AVG function to get the average value in the price column.
  • Return these values as min_price, max_price, and avg_price.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 5
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

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: Analyze Price Distribution

Veeg om het menu te tonen

Taak

Swipe to start coding

Write a query to find the minimum, maximum, and average product price from the products table.

  • Use the MIN function to get the lowest value in the price column.
  • Use the MAX function to get the highest value in the price column.
  • Use the AVG function to get the average value in the price column.
  • Return these values as min_price, max_price, and avg_price.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 5
single

single

some-alt