Search Header Logo

Adv SQL Quiz

Authored by Jayvee Sias

Computers

University

Used 2+ times

Adv SQL Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

COUNT, AVG, SUM, MAX, and MIN are known as what?

Aggregate Functions

Calculated Field

Wildcard Filters

Joins

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which SQL function is used to find the average value of any column?

Mean()

AVG()

SUM()

AVERAGE()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The MAX() function returns the number of rows

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A column named Score from Grade table

has values as 10, 12, 13, 15, 9, 10, 14, 15, 10, 15, 12.

Predict the output of the below query.

SELECT COUNT (Score) FROM Grade;

9

11

13

15

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A column named Score from Grade table

has values as 10, 12, 13, 15, 9, 10, 14, 15, 10, 15, 12.

Predict the output of the below query.

SELECT MIN (Score) FROM Grade;

9

11

13

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The GROUP BY statement is often used with aggregate functions to group the result-set by one or more columns.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the correct order of clauses in a SELECT statement?

SELECT

FROM

WHERE

ORDER BY

HAVING

GROUP BY

SELECT

FROM

HAVING

GROUP BY

WHERE

ORDER BY

SELECT

FROM

WHERE

HAVING

ORDER BY

GROUP BY

SELECT

FROM

WHERE

GROUP BY

HAVING

ORDER BY

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers