Mastering SQL: A Comprehensive Quiz

Mastering SQL: A Comprehensive Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Database Normalization

Database Normalization

12th Grade - University

14 Qs

SQLDatabase

SQLDatabase

12th Grade

15 Qs

Nang Ning Nung Data Base

Nang Ning Nung Data Base

1st Grade - University

10 Qs

SQL Quiz

SQL Quiz

9th - 12th Grade

15 Qs

dbms

dbms

11th - 12th Grade

15 Qs

Database MySQL - Command Prompt

Database MySQL - Command Prompt

12th Grade

10 Qs

Sains Komputer Tingkatan 5 - 2.1.7 Membina Pangkalan Data..

Sains Komputer Tingkatan 5 - 2.1.7 Membina Pangkalan Data..

10th - 12th Grade

8 Qs

Database

Database

12th Grade

15 Qs

Mastering SQL: A Comprehensive Quiz

Mastering SQL: A Comprehensive Quiz

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Craig Harrison

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `SELECT` statement in SQL?

To delete data from a database

To retrieve data from a database

To update data in a database

To create a new table in a database

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct order of database normalisation forms?

1NF, 2NF, 3NF, BCNF

2NF, 1NF, 3NF, BCNF

3NF, 2NF, 1NF, BCNF

BCNF, 3NF, 2NF, 1NF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL clause is used to filter records?

ORDER BY

GROUP BY

WHERE

HAVING

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of join returns all records from the left table and the matched records from the right table?

INNER JOIN

LEFT JOIN

RIGHT JOIN

FULL JOIN

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL function is used to count the number of rows in a table?

SUM()

AVG()

COUNT()

MAX()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the SQL command `INSERT INTO` do?

It updates existing data in a table

It deletes data from a table

It adds new data into a table

It creates a new table

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of a table in 1NF (First Normal Form)?

It has no repeating groups

It has no partial dependencies

It has no transitive dependencies

It has a single candidate key

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?