Understanding MySQL: Queries and Joins

Understanding MySQL: Queries and Joins

University

9 Qs

quiz-placeholder

Similar activities

Microsoft SQL Server

Microsoft SQL Server

12th Grade - Professional Development

10 Qs

Types of Databases

Types of Databases

University

11 Qs

DBMS

DBMS

University

10 Qs

Advanced Database Development Part 2

Advanced Database Development Part 2

University

14 Qs

SQL

SQL

12th Grade - University

10 Qs

QUIZ - ADDBASE 5-6

QUIZ - ADDBASE 5-6

University

7 Qs

SQL MCQ

SQL MCQ

University

14 Qs

การสร้างเว็บไซต์ทางธุรกิจ

การสร้างเว็บไซต์ทางธุรกิจ

University

10 Qs

Understanding MySQL: Queries and Joins

Understanding MySQL: Queries and Joins

Assessment

Quiz

Computers

University

Medium

Created by

Roger Holden

Used 1+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `ON` clause in a SQL JOIN statement?

To specify the columns to be selected

To define the condition for joining tables

To order the results

To group the results

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following SQL statements is used to retrieve data from a database?

INSERT

UPDATE

DELETE

SELECT