
SQL Quiz
Authored by Dr. Hazirah Bee Binti Yusof Ali
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does SQL stand for?
Structured Question Language
Standard Query Language
Simple Query Language
Structured Query Language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to add data to a table in SQL?
UPDATE
INSERT
SELECT
DELETE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the COMMIT command in SQL?
To delete data from a table
To save changes made to the database
To retrieve data from a table
To create a new table
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a data manipulation command in SQL?
CREATE
INSERT
ALTER
DROP
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the NOT NULL constraint do?
Allows null values in a column
Assigns a default value to a column
Ensures all values in a column are unique
Ensures that a column does not accept nulls
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command is used to remove a table from a database?
REMOVE
CLEAR
DROP
DELETE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a primary key in a database?
A key that allows duplicate values
A key used for indexing
A key that can be null
A unique identifier for a record in a table
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?