Aggregate Functions in DBMS Quiz

ForemostSphene avatar
ForemostSphene
·
·
Download

Start Quiz

Study Flashcards

5 Questions

What does the COUNT(*) function do?

Counts all the number of rows of the table including null

When is the DISTINCT keyword used?

To perform calculations on unique values of a column

Which aggregate function returns the average value of a numeric column?

AVG

What does the MAX function do?

Finds the maximum value in the column

What does the SUM function do?

Sums up the values in the column

Study Notes

Aggregate Functions

  • The COUNT(*) function returns the total number of rows in a table or a specified column.
  • The DISTINCT keyword is used to select only unique values from a column, eliminating duplicate values.
  • The AVG function returns the average value of a numeric column.
  • The MAX function returns the highest value in a numeric column.
  • The SUM function calculates the total value of a numeric column by adding up all the values.

Test your knowledge of aggregate functions in DBMS with this quiz. Explore the syntax and usage of aggregate functions like AVG, and practice writing queries to calculate average values from database tables.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

SQL Concepts Quiz
5 questions

SQL Concepts Quiz

DistinguishedJadeite avatar
DistinguishedJadeite
SQL Aggregate Functions Quiz
0 questions

SQL Aggregate Functions Quiz

BreathtakingFeynman avatar
BreathtakingFeynman
[05/Indigirka/02]
32 questions

[05/Indigirka/02]

InestimableRhodolite avatar
InestimableRhodolite
SQL Group By Clause Quiz
18 questions
Use Quizgecko on...
Browser
Browser