Practice COUNT, SUM, AVG, MAX, MIN - 3.1 | SQL for Business Analysts | Business Analysis
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Academics
Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Professional Courses
Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβ€”perfect for learners of all ages.

games

Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

What SQL function would you use to count the number of users?

πŸ’‘ Hint: Think of how we track the number of entries in a dataset.

Question 2

Easy

How would you aggregate the total sales from a table?

πŸ’‘ Hint: Consider what you're adding up.

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

What does the AVG function calculate?

  • Total of values
  • Lowest value
  • Average of values

πŸ’‘ Hint: Think about how you would find the average score.

Question 2

True or False: The COUNT function can return 0 if no rows meet the condition.

  • True
  • False

πŸ’‘ Hint: Consider what happens when there are no results.

Solve 2 more questions and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Write a complex SQL query that retrieves departments with an average salary above the total average salary and shows the maximum salary within each department.

πŸ’‘ Hint: You'll need to use subqueries to compare average salaries.

Question 2

Using a sales data table, create a query to find products whose total sales exceed the average sales of all products and list them.

πŸ’‘ Hint: Think about how you would aggregate and compare the totals.

Challenge and get performance evaluation