
MySQL Quiz
Authored by Garfield Davidson
Computers
12th Grade
Used 1+ times

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 Query Language
Super Query Language
Simple Query Language
Student Query Language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a primary key?
A unique attribute used to identify a single record
A key that is always a foreign key
A key that can be duplicated
A key that can be NULL
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new database?
NEW DATABASE
CREATE DATABASE
CREATE TABLE
INSERT DATABASE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the DELETE command?
To remove a table
To remove a column
To remove a database
To remove records from a table
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid data type for strings in MySQL?
INTEGER
VARCHAR
FLOAT
BOOLEAN
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the NOT NULL constraint do?
Allows NULL values in a column
Sets a default value for a column
Ensures a column cannot have a NULL value
Allows duplicate values in a column
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to modify existing records in a table?
CHANGE
ALTER
INSERT
UPDATE
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?