Search Header Logo

SQL Quiz

Computers

University

Used 509+ times

SQL Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What word is missing from the line below?
SELECT *
_______ CUSTOMER;

FROM
WHERE
SELECT
ORDER BY

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of  *?

Selects ALL fields from the table
Selects only the first field in the table
Selects the last field in the table
Shows only the first row in the table

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Return only the customers who have ER anywhere in their last name. 

last_name LIKE "%er%"
last_name = "%er"
last_name = "%er%"
last_name LIKE "%er"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To find the total dollar value of sales, use which? 

SUM
COUNT
MAX
MIN

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Aggregate functions
Wildcard filters
Subqueries
Calculated field

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You must always use _____ when filtering string values.

quotes
astericks
exclamation point
percent signs

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct order of clauses? 

SELECT, FROM, ORDER BY, WHERE
SELECT, FROM, WHERE, ORDER BY
SELECT, WHERE, FROM, ORDER BY
WHERE, FROM, SELECT, 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?