Aggregations

Quiz
•
Other
•
1st - 5th Grade
•
Medium

Deriv Besquare
Used 5+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are valid?
Where clause and having clause will impact the result of group by in the same way
we can use multiple functions in one query using group by clause
This is how we should right query using group by in postgres:
select ...
from ...
group by ...
where ...
having ...
order by ...
FILTER is a modifier used on an aggregate function to limit the values used in an aggregation
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which ones of the following options are Aggregate functions?
COUNT
SUM
AVG
LOWER
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which clause/clauses can be used with aggregate functions?
DELETE
SELECT
HAVING
UPDATE
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a valid aggregate function?
COUNT
COMPUTE
SUM
MAX
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the right aggregate function to calculate the total value of an attribute?
Count
SUM
AVG
None
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Does the Count function work on the non-numeric data types?
Yes, it does!
No, it doesn't!
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following pairs can be used instead of AVG?
SUM, MIN
COUNT, MAX
SUM, COUNT
SUM, MAX
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of there aggregate functions doesn't support DISTINCT?
COUNT
SUM
AVG
MIN
9.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
what can we use if we want the SUM() function to return zero instead of NULL in case there is no matching row found?
MIN
COALESCE
MAX
COUNT
Similar Resources on Wayground
10 questions
Ulangan Simdig #2

Quiz
•
1st Grade
8 questions
Disney Shows

Quiz
•
KG - Professional Dev...
11 questions
TEST INTEROGARI

Quiz
•
5th Grade
10 questions
Laboratorio teórico 2

Quiz
•
1st Grade
9 questions
OKR & KPI FY24

Quiz
•
1st Grade
10 questions
Quiz SQL Dasar

Quiz
•
1st Grade
10 questions
Controlled Half-Wave Rectifiers Quiz

Quiz
•
1st Grade
10 questions
Concordancia entre el sustantivo y el adjetivo

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Other
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
9 questions
A Fine, Fine School Comprehension

Quiz
•
3rd Grade
10 questions
Common Denominators

Quiz
•
5th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
12 questions
Passport Quiz 1

Quiz
•
1st - 5th Grade
10 questions
Making Predictions

Quiz
•
4th - 5th Grade
6 questions
Spiral Review 8/5

Quiz
•
4th Grade