S3: DATABASES UP TO EQUI JOIN

S3: DATABASES UP TO EQUI JOIN

11th Grade

10 Qs

quiz-placeholder

Similar activities

FBLA Database Design and Applications Part 1

FBLA Database Design and Applications Part 1

11th Grade

14 Qs

Learning SQL

Learning SQL

11th - 12th Grade

15 Qs

SQL- Join, Group by, having

SQL- Join, Group by, having

9th - 12th Grade

10 Qs

Introduction to DBMS

Introduction to DBMS

10th - 11th Grade

13 Qs

Databases - Table & Entities

Databases - Table & Entities

3rd - 12th Grade

10 Qs

Access Vocabulary

Access Vocabulary

9th - 12th Grade

15 Qs

Relational Databases 1

Relational Databases 1

11th Grade

14 Qs

Database Intro (A Level CS)

Database Intro (A Level CS)

11th - 12th Grade

10 Qs

S3: DATABASES UP TO EQUI JOIN

S3: DATABASES UP TO EQUI JOIN

Assessment

Quiz

Computers

11th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?