SQL Quiz

SQL Quiz

University

19 Qs

quiz-placeholder

Similar activities

SQL-Quiz

SQL-Quiz

SQL set 1

SQL set 1

SQL Questions

SQL Questions

SQL Quiz

SQL Quiz

SQL JOIN, Order By, Group By

SQL JOIN, Order By, Group By

Multiple Table Queries and Modifying Queries

Multiple Table Queries and Modifying Queries

National 5 - Databases - Basic SQL

National 5 - Databases - Basic SQL

Mastering Basic SQL Concepts

Mastering Basic SQL Concepts

SQL Quiz

SQL Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Used 507+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

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?