Search Header Logo

SQL Basics Quiz

Authored by Peter Hyland

Others

8th Grade

Used 7+ times

SQL Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a database used for?

To process data quickly

To display data visually

To store a large amount of information

To store a small amount of information

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which three words are essential for basic SQL queries?

SELECT, FROM, WHERE

INSERT, DELETE, UPDATE

JOIN, GROUP BY, ORDER BY

CREATE, DROP, ALTER

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'SELECT' keyword do in SQL?

It updates data in a table

It inserts data into a table

It retrieves data from a table

It deletes data from a table

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you retrieve the names of cheeses priced over two pounds?

SELECT name FROM cheese_table WHERE price > 2

SELECT price FROM cheese_table WHERE name > 2

SELECT name FROM cheese_table WHERE price < 2

SELECT * FROM cheese_table WHERE price > 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What result would you get from the query: SELECT name, color FROM cheese_table WHERE strength = 2?

Mild Cheddar, Orange

Edam, Yellow

Mature Cheddar, Yellow

Stilton, White

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Boolean operator would you use to combine conditions in SQL?

AND

OR

NOT

BOTH

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the result of the query: SELECT name, color FROM cheese_table WHERE strength > 1 AND color = 'yellow'?

Mild Cheddar, Orange

Mature Cheddar, Yellow

Stilton, White

Edam, Yellow

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?