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.

Professionals

Professional Courses

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

Games

Interactive Games

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

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