
aggeregate function quiz
Authored by radhika jindal
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an aggregate function in SQL?
count( )
group by
order by
where
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the SUM() function do in SQL?
Counts the number of rows
Returns the highest value in a column
Adds up the numeric values in a column
Returns the average value of a numeric column
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL query will return the average salary from the employees table?
SELECT AVG(salary) FROM employees;
SELECT MEAN(salary) FROM employees;
SELECT TOTAL(salary) FROM employees;
SELECT AVERAGE(salary) FROM employees;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the COUNT(*) function do?
Counts the number of non-null values in a column
Counts the number of distinct values in a column
Counts the total number of rows in a table
Counts the number of columns in a table
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function would you use to find the highest value in a numeric column?
Heights( )
top( )
max( )
largest( )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you calculate the total number of distinct departments in the employees table?
SELECT COUNT(department) FROM employees;
SELECT COUNT(DISTINCT department) FROM employees;
SELECT DISTINCT COUNT(department) FROM employees;
SELECT COUNT(*) DISTINCT FROM employees;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you find the total number of unique job titles in the employees table?
SELECT DISTINCT COUNT(title) FROM employees;
SELECT COUNT(DISTINCT title) FROM employees;
SELECT COUNT(UNIQUE title) FROM employees;
SELECT COUNT(*) FROM employees GROUP BY title;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Scrum 101: The Introduction
Quiz
•
University
10 questions
CLEAN WATER AND SANITATION
Quiz
•
10th Grade - Professi...
10 questions
External Devices
Quiz
•
University
20 questions
Câu hỏi về máy tính
Quiz
•
8th Grade - University
20 questions
CSE493_QUIZ 1
Quiz
•
University
20 questions
Transaction Processing Systems Quiz
Quiz
•
University
11 questions
Pre Test HTML
Quiz
•
University
17 questions
HTML
Quiz
•
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade