PreLab Quiz - DDL and DML Commands

PreLab Quiz - DDL and DML Commands

Professional Development

10 Qs

quiz-placeholder

Similar activities

Dataverse Introduction

Dataverse Introduction

Professional Development

10 Qs

Advanced Data Modelling

Advanced Data Modelling

Professional Development

7 Qs

User defined functions and Window functions Quiz

User defined functions and Window functions Quiz

Professional Development

15 Qs

sprawdzian polecenie alter

sprawdzian polecenie alter

Professional Development

12 Qs

DBMS SESSION 20

DBMS SESSION 20

Professional Development

8 Qs

Database SQL Part 1 V1

Database SQL Part 1 V1

Professional Development

13 Qs

Module 5 & Module 6

Module 5 & Module 6

University - Professional Development

10 Qs

Subqueries Quiz

Subqueries Quiz

Professional Development

15 Qs

PreLab Quiz - DDL and DML Commands

PreLab Quiz - DDL and DML Commands

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Saranya E

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of the following is a DDL command?
INSERT
SELECT
DELETE
CREATE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which command is used to remove all rows from a table but keep the structure?
DELETE
DROP
TRUNCATE
REMOVE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of the following is used to change the structure of an existing table?
UPDATE
ALTER
INSERT
MODIFY

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. The command to delete a table permanently is:
DELETE
TRUNCATE
REMOVE
DROP

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which SQL command is used to insert new data into a table?
INSERT INTO
ADD ROW
NEW ENTRY
APPEND

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. What is the correct command to change a column name in MySQL?
MODIFY COLUMN
CHANGE COLUMN
RENAME COLUMN
ALTER COLUMN

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of the following statements will add a new column `email` to the `Customers` table?
ALTER Customers ADD email TEXT;
ALTER TABLE Customers ADD COLUMN email TEXT;
MODIFY TABLE Customers ADD email TEXT;
ADD COLUMN email TO Customers;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?