Which of the following statements are valid?
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
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 Quizizz
10 questions
Quiz SQL Dasar

Quiz
•
1st Grade
10 questions
1p uncontrolled halfwave rectifier

Quiz
•
1st Grade
10 questions
Christmas Quiz

Quiz
•
KG - 12th Grade
5 questions
Making Capital Investment Decisions

Quiz
•
KG - Professional Dev...
9 questions
Hygiëne en voedselveiligheid in de winkel

Quiz
•
KG - 12th Grade
10 questions
Stata Quiz

Quiz
•
3rd Grade
10 questions
Laboratorio teórico 2

Quiz
•
1st Grade
9 questions
OKR & KPI FY24

Quiz
•
1st Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
14 questions
IREAD-3 Practice Test

Quiz
•
3rd Grade
15 questions
Multiplication Facts

Quiz
•
4th Grade