SQL Quiz
Quiz
•
Computers
•
10th Grade - University
•
Hard
Peter Astbury
Used 3+ times
FREE Resource
Enhance your content in a minute
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.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Internet Technologies
Quiz
•
12th Grade
15 questions
DBC CHAPTER 3 - REVISION
Quiz
•
University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
10 questions
Banco de Dados - Modelo Entidade Relacionamento (ER)
Quiz
•
11th Grade
15 questions
ADVACOMT-Quiz No.1 (final term)
Quiz
•
University
10 questions
Evaluasi
Quiz
•
10th Grade
14 questions
ÔN TINHK1, K4
Quiz
•
10th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
