
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
13 questions
Introduction to DBMS

Quiz
•
10th - 11th Grade
10 questions
The DOM Practice

Quiz
•
9th - 12th Grade
15 questions
Access Vocabulary

Quiz
•
9th - 12th Grade
14 questions
Relational Databases 1

Quiz
•
11th Grade
10 questions
Database Intro (A Level CS)

Quiz
•
11th - 12th Grade
15 questions
7.7 Software Security Review

Quiz
•
8th Grade - University
10 questions
Unit 2 Creating systems to manage information

Quiz
•
11th Grade
14 questions
SQL 3

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade