
S3: DATABASES UP TO EQUI JOIN

Quiz
•
Computers
•
11th Grade
•
Medium

Kieran Kyle
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL clause is used to specify the condition for joining tables in the query?
SELECT
FROM
WHERE
JOIN
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the '=' operator in an Equi-Join?
To subtract values
To compare values for equality
To multiply values
To divide values
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following SQL statement do?
SELECT name, age FROM Students;
Displays all fields in the Students table.
Displays the name and age fields from the Students table.
Deletes the name and age fields in the Students table.
Creates a new table with name and age fields.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following query do?
SELECT * FROM Teachers WHERE subject = 'Maths';
Displays all teachers except those who teach Maths.
Updates the subject field for teachers to 'Maths'.
Displays all fields for teachers who teach Maths.
Deletes teachers who do not teach Maths.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax to add a new student with a name of "Alice" and an age of 15 to the Students table?
ADD INTO Students VALUES ("Alice", 15);
INSERT INTO Students VALUES ("Alice", 15);
INSERT INTO Students (name, age) VALUES ("Alice", 15);
INSERT name = "Alice", age = 15 INTO Students;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL query updates the price of a product in the Products table to 9.99 for a product with the productID of 101?
UPDATE price SET Products = 9.99 WHERE productID = 101;
UPDATE Products SET price = 9.99 WHERE productID = 101;
CHANGE price TO 9.99 WHERE productID = 101 IN Products;
SET price = 9.99 IN Products WHERE productID = 101;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the following SQL query?
DELETE FROM Orders WHERE orderID = 123;
Removes the Orders table from the database.
Deletes all orders except the one with orderID 123.
Deletes the order with orderID 123 from the Orders table.
Deletes the orderID field from the Orders table.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Design Principles

Quiz
•
9th - 11th Grade
15 questions
Test Pemahaman Basis Data - Part 2

Quiz
•
9th - 12th Grade
15 questions
Chapter 9 - Databases (IGCSE Computer Science)

Quiz
•
9th - 12th Grade
10 questions
Conexión a DB SQLite I

Quiz
•
11th Grade
14 questions
Implementation - PowerPoint 1 Higher

Quiz
•
11th Grade
10 questions
MAIL MERGE

Quiz
•
11th - 12th Grade
15 questions
Web Design #3

Quiz
•
9th - 12th Grade
10 questions
IP Address

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade