
SQL Functions
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Suheba Mubashir
Used 17+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The SQL statement to count distinct rows from a column is,
select COUNT DISTINCT columnname AS total_rows from tablename;
select (COUNT DISTINCT columnname) AS total_rows from tablename;
select DISTINCT columnname AS total_rows from tablename;
select COUNT (DISTINCT) AS total_rows from tablename;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The COUNT() function also counts the NULL values.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The SUM() function returns - - -
some random values from the given column
the total number of columns in the database
the total number of tables in the given databases
the total sum of a given numeric column
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a column named "age", containing values 4, 5, 6, the SQL statement "SELECT SUM(age) FROM students;" will return,
3
15
0
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The MIN() function returns - - - in the given column.
the largest value
the last value
the total sum value
the smallest value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The MAX() function returns - - - in the given column.
the largest value
the last value
the total sum value
the smallest value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The average value of the given numeric column is calculated by using - - - function.
GETAVG()
FINDAVG()
AVG()
AVGVALUE()
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
12 questions
Deci- Session 1- Time Machine
Quiz
•
Professional Development
11 questions
ChatGPT Quiz
Quiz
•
Professional Development
10 questions
Roblox
Quiz
•
Professional Development
15 questions
Telco Practice Test 1
Quiz
•
Professional Development
15 questions
Technical Training
Quiz
•
Professional Development
12 questions
Vocaloid Quiz
Quiz
•
5th Grade - Professio...
12 questions
DECI - Week 9 - round
Quiz
•
Professional Development
11 questions
Typing words on keyboard (colours)
Quiz
•
KG - Professional Dev...
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
