
Introduction to SQL Quiz
Authored by LioS LioS
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does SQL stand for?
Structured Query Language
Simple Query Language
Standard Query Language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a popular Database Management Tool?
Microsoft SQL Server
Notepad
Excel
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to create a new database?
CREATE DATABASE database_name;
CREATE TABLE table_name;
DROP DATABASE database_name;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the NOT NULL constraint do?
Ensures a column cannot have a NULL value
Allows NULL values
Ensures all values are unique
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to delete an existing table?
DROP TABLE table_name;
DELETE TABLE table_name;
REMOVE TABLE table_name;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to add a new column to an existing table?
ALTER TABLE table_name ADD column datatype;
ADD COLUMN table_name;
CREATE COLUMN table_name;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to modify a column's datatype?
ALTER TABLE table_name ALTER COLUMN column datatype;
MODIFY COLUMN table_name;
CHANGE COLUMN table_name;
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?