Aggregations

Aggregations

1st - 5th Grade

9 Qs

quiz-placeholder

Similar activities

DataBase Fundamentals - Lec3

DataBase Fundamentals - Lec3

1st Grade

9 Qs

Access most missed ?'s 7/8/9

Access most missed ?'s 7/8/9

KG - University

10 Qs

TLE ICT 6  Uses functions and formulas in MS Excel (TLEIE60f-12)

TLE ICT 6 Uses functions and formulas in MS Excel (TLEIE60f-12)

5th - 6th Grade

10 Qs

Spreadsheet (Rumus Matematika)

Spreadsheet (Rumus Matematika)

1st Grade - University

10 Qs

Controlled Half-Wave Rectifiers Quiz

Controlled Half-Wave Rectifiers Quiz

1st Grade

10 Qs

Excel Statistik & Format Cell

Excel Statistik & Format Cell

5th Grade

10 Qs

2nd Grade Math Questions

2nd Grade Math Questions

2nd Grade

11 Qs

การใช้ฟังก์ชั่นในเอกเซล ป.5

การใช้ฟังก์ชั่นในเอกเซล ป.5

5th Grade

10 Qs

Aggregations

Aggregations

Assessment

Quiz

Other

1st - 5th Grade

Medium

Created by

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