
ITDB202 - SQL DDL, DML and TCL Statements

Quiz
•
Computers
•
12th Grade - University
•
Medium
Mel PJ
Used 65+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following allows you to add Address column with string value up to 50 characters in your EMP table?
ALTER TABLE emp ADD address VARCHAR2(50);
ALTER TABLE emp ADD COLUMN address VARCHAR2(50);
ALTER TABLE emp ADD address VARCHAR2(30);
ALTER TABLE emp DROP COLUMN address;
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is an example of Data Manipulation Language (DML) command?
CREATE
INSERT
ALTER
DROP
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is an example of Data Definition Language (DDL) command?
INSERT
DELETE
CREATE
UPDATE
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will display all the records in EMPLOYEES table?
SELECT salary FROM employees;
SELECT * FROM employees;
SELECT ALL FROM employees;
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which command will delete your table from the database?
DROP
DELETE
TRUNCATE
MERGE
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which data type should you use for the BIRTHDAY column in STUDENTS table?
CHAR
VARCHAR2
DATE
NUMBER
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which command will execute properly?
INSERT INTO emp (101, 'Melissa', 300);
INSERT INTO emp VALUES (101, Melissa, 300);
INSERT INTO emp VALUES (101, 'Melissa', 300);
INSERT INTO emp VALUES ('101', Melissa, '300');
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Relational Algebra Concepts Worksheet

Quiz
•
University
20 questions
SQL Basics

Quiz
•
University
20 questions
PL SQL

Quiz
•
University - Professi...
20 questions
SQL_2

Quiz
•
University
20 questions
DBMS Quiz

Quiz
•
University
21 questions
DDL dan DML

Quiz
•
12th Grade
18 questions
SQL Tingkatan 5 SPM

Quiz
•
10th Grade - University
19 questions
SQL4-Join/aggregate functions/group by

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade