
SQL Functions

Quiz
•
Computers
•
Professional Development
•
Medium

Suheba Mubashir
Used 17+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Vlookup Formula in Excel

Quiz
•
Professional Development
10 questions
CodeMonkey

Quiz
•
Professional Development
7 questions
Table and Formatting Language

Quiz
•
KG - Professional Dev...
10 questions
Module 5 & Module 6

Quiz
•
University - Professi...
15 questions
Kuiz MS Word

Quiz
•
Professional Development
7 questions
PL-200 Learning Path 2 - Manage Security

Quiz
•
Professional Development
10 questions
Quiz Ms. Excel

Quiz
•
Professional Development
10 questions
SQL Session 2 Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade