SQL Quiz

SQL Quiz

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

Digital Technology Office 365 - 29May2020

Digital Technology Office 365 - 29May2020

University - Professional Development

13 Qs

INTERNET CONNECTION

INTERNET CONNECTION

12th Grade

13 Qs

[Lớp 12] Access - Ôn tập

[Lớp 12] Access - Ôn tập

12th Grade

14 Qs

KT 15' (12) 2

KT 15' (12) 2

12th Grade

10 Qs

Virtual Private Server

Virtual Private Server

12th Grade

15 Qs

SQLite - Writing Queries

SQLite - Writing Queries

University

9 Qs

หน่วยที่ 1 ความรู้เบื้องต้นเกี่ยวกับเครื่องพิมพ์ดีด

หน่วยที่ 1 ความรู้เบื้องต้นเกี่ยวกับเครื่องพิมพ์ดีด

9th - 12th Grade

10 Qs

Data Warehouse - Foundations

Data Warehouse - Foundations

University

10 Qs

SQL Quiz

SQL Quiz

Assessment

Quiz

Computers

10th Grade - University

Hard

Created by

Peter Astbury

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this SQL query do?

SELECT * FROM customers;

Delete all customer's data

Update all customers to be called *

Find all data held about all customers.

Delete the customers table.

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which statements are true about this SQL query?

DELETE FROM customers WHERE id=8;

Data is deleted from the customers table.

Data in the customers table is edited.

Only customer with id number 8 is effected.

All customers are effected.

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What word is missing from this query to remove the customers table.

................ TABLE customers;

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What word is missing from this table to select all customers from the Jones family.

SELECT * FROM customers .............. family="Jones";

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this query do?

SELECT shop.name FROM shops INNER JOIN staff ON staff.shop = shop.id WHERE staff.name="John Smith";

Identify the name of the shop where John Smith works.

Assign John Smith to work at a specific shop.

List the staff who work at all shops.

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What is the missing word in this query to show how many staff work at each shop?

SELECT COUNT(id) FROM staff .............BY shop;

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Write an SQL query to delete all data from the staff table.

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?