
Mastering SQL DDL and DML Commands
Authored by Sam Jurakobilov
Information Technology (IT)
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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';
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?
Similar Resources on Wayground
17 questions
Holiday Quiz
Quiz
•
Professional Development
20 questions
Understanding HTML
Quiz
•
Professional Development
18 questions
Quiz tentang CSS Display Flex
Quiz
•
Professional Development
15 questions
Understanding BOM in JavaScript(14R)
Quiz
•
Professional Development
10 questions
The BIG PM quiz
Quiz
•
Professional Development
15 questions
Revisão conceitos banco de dados SQL
Quiz
•
Professional Development
10 questions
LINKS Cyber Youth Challenge - Round 4
Quiz
•
Professional Development
20 questions
Software Testing Fundamentals
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development