Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Analyze Price Distribution | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL
Sectionย 1. Chapterย 17
single

single

bookChallenge: Analyze Price Distribution

Swipe to show menu

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Sectionย 1. Chapterย 17
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt