Which of the following is NOT a GROUP BY function?
SQL: GROUP Functions

Quiz
•
Computers
•
8th Grade - Professional Development
•
Hard
Chetna Dass
Used 24+ times
FREE Resource
97 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
MAX
MIN
NVL
AVG
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following functions can be used without GROUP BY clause in SELECT query? (Select all that apply)
COUNT
MAX
MIN
AVG
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following SELECT query returns the department number with maximum salary compensated to an employee? (Consider the table structure as given)
SELECT department_id , max(salary ) FROM employees ;
SELECT department_id , max(salary ) FROM employees GROUP BY department_id ;
SELECT max(salary ) FROM employees GROUP BY department_id ;
SELECT max(salary ) FROM employees ;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true about the COUNT function?
The COUNT function counts the number of rows
The COUNT(*) function counts the number of rows with duplicates and NULL values
The COUNT(DISTINCT) function counts the number of distinct rows
COUNT(*) is equivalent to COUNT(ALL)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the appropriate data types accepted by GROUP BY functions?
Nested Tables
NUMBER
CLOB
DATE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A table T_COUNT has 12 number values as 1, 2, 3, 32, 1, 1, null, 24, 12, null, 32, null. Predict the output of the below query.
SELECT COUNT (*) FROM t_count;
12
6
9
Throws exception because COUNT function doesn't works with NULL values
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A table T_COUNT has 12 number values as 1, 2, 3, 32, 1, 1, null, 24, 12, null, 32, null. Predict the output of the below query.
SELECT COUNT (num) FROM t_count;
12
6
9
Throws exception because COUNT function doesn't works with NULL values
Create a free account and access millions of resources
Similar Resources on Quizizz
100 questions
Fundamentals of IT Revision

Quiz
•
University
100 questions
Mid-term cybersecurity

Quiz
•
University
95 questions
Network+

Quiz
•
Professional Development
100 questions
SQL: Using Single-Row Functions

Quiz
•
8th Grade - Professio...
100 questions
Django

Quiz
•
University
100 questions
SK SPM F5 (All Chapters)

Quiz
•
11th Grade
100 questions
(ROOM 2) TEST QUIZIZ OPEN LREK ASLAB KOMPUTER 2024

Quiz
•
University
100 questions
N5CS: Database Design

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
67 questions
Course Recap Ptho May25

Quiz
•
University
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade