Search Header Logo

Understanding MySQL: Queries and Joins

Authored by Roger Holden

Computers

University

Used 1+ times

Understanding MySQL: Queries and Joins
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of normalisation in a relational database?

To increase the size of the database

To reduce data redundancy and improve data integrity

To make the database more complex

To decrease the speed of data retrieval

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a type of join in SQL?

INNER JOIN

OUTER JOIN

LEFT JOIN

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a relational database, what does a foreign key do?

Uniquely identifies each record in a table

Establishes a relationship between two tables

Increases the speed of queries

Stores large binary objects

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL clause is used to filter records?

SELECT

WHERE

ORDER BY

GROUP BY

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which normal form is achieved when a table is free of transitive dependencies?

First Normal Form (1NF)

Second Normal Form (2NF)

Third Normal Form (3NF)

Boyce-Codd Normal Form (BCNF)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the SQL command `JOIN` do?

Combines rows from two or more tables based on a related column

Deletes rows from a table

Updates existing records in a table

Inserts new records into a table

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a benefit of normalisation?

Improved data integrity

Reduced data redundancy

Increased complexity of queries

Easier maintenance

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?