Mastering SQL: A Comprehensive Quiz

Mastering SQL: A Comprehensive Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

SQL and databases

SQL and databases

KG - 12th Grade

10 Qs

2.3.1 Cyber Securing Ecommerce Data

2.3.1 Cyber Securing Ecommerce Data

9th - 12th Grade

12 Qs

RDBMS  for class10

RDBMS for class10

10th - 12th Grade

10 Qs

MySQL

MySQL

12th Grade

10 Qs

KONEKSI BASIS DATA

KONEKSI BASIS DATA

12th Grade

10 Qs

Technical Terms - Internet (A-Z) - NoSQL

Technical Terms - Internet (A-Z) - NoSQL

12th Grade

10 Qs

Intro to Databases

Intro to Databases

12th Grade - University

12 Qs

Databases Week 2 Review

Databases Week 2 Review

12th Grade - Professional Development

12 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?