
Mastering SQL DDL and DML Commands
Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Sam Jurakobilov
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What SQL command is used to create a new table?
INSERT TABLE
MODIFY TABLE
ADD TABLE
CREATE TABLE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add a new column to an existing table?
CREATE TABLE table_name ADD column_name data_type;
UPDATE table_name SET column_name = value;
ALTER TABLE table_name ADD COLUMN column_name data_type;
INSERT INTO table_name (column_name) VALUES (value);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to remove a table from a database?
DELETE TABLE table_name;
CLEAR TABLE table_name;
DROP TABLE table_name;
REMOVE TABLE table_name;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL statement is used to insert new data into a table?
INSERT INTO
DELETE FROM
UPDATE
SELECT * FROM
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you update existing records in a table?
Create a new table with the updated records.
Use the SQL SELECT statement to retrieve records.
Delete the records using the SQL DELETE statement.
Use the SQL UPDATE statement with SET and WHERE clauses.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the SQL command to delete records from a table?
DELETE FROM table_name WHERE condition;
REMOVE FROM table_name WHERE condition;
DELETE table_name WHERE condition;
DROP table_name WHERE condition;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you rename an existing column?
ALTER TABLE table_name RENAME COLUMN column_name;
ALTER COLUMN table_name RENAME column_name;
sp_name 'column_name', 'new_name';
sp_rename 'table_name.column_name', 'new_name', 'COLUMN';
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Quiz sobre Design
Quiz
•
Professional Development
20 questions
Prelim: Networking II
Quiz
•
Professional Development
12 questions
CyberSmarts: 10-Minute Cybersecurity Challenge
Quiz
•
Professional Development
20 questions
NMC-IT PD 2024
Quiz
•
Professional Development
20 questions
Digital Behavior Scenarios Quiz
Quiz
•
Professional Development
10 questions
Superset ACM Quiz
Quiz
•
Professional Development
10 questions
Câu Hỏi Trắc Nghiệm Về Mô Hình ER
Quiz
•
Professional Development
20 questions
Preguntas de Certificación AZ-900 p1
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
