GCSE Databases and SQL 2

Quiz
•
Computers
•
9th - 10th Grade
•
Hard

Konrad Meij
Used 4+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With SQL, how do you select all the columns from a table named "Persons"?
FROM Persons SELECT*
SELECT all FROM Persons
SELECT * LIKE Persons
SELECT * FROM Persons
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which SQL statement which will display the registration numbers and make of all cars with 5 doors made in 2011 or after?
SELECT CarRegistration, Make FROM Cars LIKE Doors = 5 OR Year >= 2011
SELECT CarRegistration, Make FROM Cars WHERE Doors = 5 AND Year <= 2011
SELECT CarRegistration, Make FROM Cars WHERE Doors = 5 AND Year >= 2011
FROM CarRegistration, Make SELECT Cars WHERE Doors = 5 AND Year >= 2011
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write he missing code to an SQL query to find all teachers from the 'Teachers' table, whose surname begins with ‘B’ and whose title is ‘Mr’. Show all fields from the table.
SELECT*
FROM Teachers
WHERE
Surname LIKE 'B*' AND Title = 'Mr'
Surname LIKE 'B*' AND 'Mr'
Surname LIKE 'B*' Title = 'Mr'
Surname LIKE 'B*' OR Title = 'Mr'
4.
FILL IN THE BLANK QUESTION
2 mins • 3 pts
In the 'members' table, output the first and last name of everyone from Ipswich. Remember that the answer is case sensitive
NB: use single apostrophes (eg. 'Woodbridge')
NB: Put a space after a comma, but no space before the comma (eg. Gender, Town)
5.
FILL IN THE BLANK QUESTION
2 mins • 3 pts
In the 'Dogs' table, write an SQL statement to select all the names and breeds of female dogs.
NB: Use single apostrophes (eg. 'Black') with no spaces
NB: Put a space after a comma, but no space before the comma (eg. Gender, Town)
6.
FILL IN THE BLANK QUESTION
2 mins • 3 pts
In the 'Dogs' table, write an SQL statement to select all fields for dogs older than four (including those aged four).
7.
DRAG AND DROP QUESTION
1 min • 2 pts
In the 'members' table, output all the fields of everyone from Colchester or Ipswich. Remember that the answer is case sensitive.
(a) * (b) members (c) Town = 'Colchester' (d) Town = 'Ipswich'
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Excel 2016

Quiz
•
6th Grade - Professio...
20 questions
OCR J277 1.1.1 CPU Architecture

Quiz
•
7th - 11th Grade
20 questions
Photoshop թեստային աշխատանք

Quiz
•
9th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
15 questions
Creating a Database

Quiz
•
7th - 9th Grade
18 questions
iGCSE Computer Science: Data Compression and Encryption

Quiz
•
9th - 12th Grade
14 questions
8525: Arrays

Quiz
•
10th Grade
11 questions
J277 - Wireless Networks

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade