Search Header Logo

H DDD - Aggregate functions (revision)

Authored by G Alexander-Doyle

Computers

12th Grade

Used 8+ times

H DDD - Aggregate functions (revision)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are aggregate functions in SQL?

Functions that perform a calculation on a set of values and return a single value

Functions that only work on string data types

Functions that are not supported by SQL

Functions that perform a calculation on a single value and return a set of values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an aggregate function in SQL?

SUM

NOT

MAX

COUNT

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the AVG function do in SQL?

Returns the maximum value of a numeric column

Counts the total number of rows in a table

Calculates the average value of a numeric column.

Sorts the values in a column in ascending order

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which aggregate function is used to find the total sum of a numeric column in SQL?

COUNT()

SUM()

AVERAGE()

MAX()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the COUNT function if there are no matching rows in SQL?

ERROR

NULL

1

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which aggregate function is used to find the highest value in a set of values in SQL?

SUM()

MAX()

COUNT()

MIN()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the COUNT function do in SQL?

Returns the number of rows that match a specified condition.

Returns the sum of all values in a specified column

Returns the maximum value of a specified column

Returns the average value of a specified column

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?