H DDD - Aggregate functions (revision)

Quiz
•
Computers
•
12th Grade
•
Easy
G Alexander-Doyle
Used 7+ times
FREE Resource
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
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which aggregate function is used to find the lowest value in a set of values in SQL?
MIN()
MAX()
COUNT()
SUM()
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the SUM function do in SQL?
Returns the average of a specific column in a table
Sorts the values in a specific column in a table
Counts the number of rows in a specific column in a table
Calculates the total sum of a specific column in a table
Similar Resources on Wayground
10 questions
S6: Data Dictionary & SQL Design

Quiz
•
12th Grade
10 questions
HTML Tables

Quiz
•
9th - 12th Grade
8 questions
ASK T3 KOD ARAHAN 4.1.7

Quiz
•
12th Grade
13 questions
Microsoft Word 2016 Tables

Quiz
•
8th - 12th Grade
10 questions
Technical Terms - Internet (A-Z) - NoSQL

Quiz
•
12th Grade
10 questions
SQL and databases

Quiz
•
KG - 12th Grade
10 questions
MySQL

Quiz
•
12th Grade
14 questions
ExamenSentències SQL - BATX

Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade