Define the type of SQL that used to insert, delete and retrieve data within the database tables.

Topic 4: Structured Query Language (SQL)

Quiz
•
Education
•
University
•
Medium
Used 35+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data Control Language (DCL)
Data Definition Language (DDL)
Data Manipulation Language (DML)
Transaction Control Language (TCL)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List the Data Definition Language (DDL) command.
CREATE, USE ALTER, DROP
CREATE, USE, INSERT, DELETE
INSERT, UPDATE, DELETE, SELECT
INSERT, UPDATE, DROP, SELECT
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Differentiate between DELETE and DROP command.
DELETE is DDL command while DROP is DML command
DELETE cannot use with WHERE clause while DROP can use with WHERE clause
DELETE is used to remove a table from the database while DROP cannot remove a table from the database
DELETE is used to remove a record of a table while DROP is used to remove a structure and records of a table
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the SQL command use to add price column into PRODUCT table.
ALTER TABLE PRODUCT
ADD price decimal (6,2);
ALTER TABLE PRODUCT
ADD COLUMN price decimal (6,2)
ALTER TABLE PRODUCT
MODIFY COLUMN price decimal (6,2)
ALTER TABLE PRODUCT
MODIFY price decimal (6,2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose SQL command to display the name of cake that end with word cheese.
SELECT cakeName
FROM CAKE
WHERE cakeName LIKE "%cheese";
SELECT cakeName
FROM CAKE
WHERE cakeName LIKE "cheese%";
SELECT cakeName
FROM CAKE
WHERE cakeName LIKE "%cheese%";
SELECT cakeName
FROM CAKE
WHERE cakeName LIKE "cheese";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select SQL command to insert values in COURSE table.
INSERT COURSE VALUES("DFC20203", "Database Design");
INSERT VALUES INTO COURSE ("DFC20203", "Database Design");
INSERT COURSE VALUES ("DFC20203", "Database Design") INTO COURSE;
INSERT INTO COURSE VALUES ("DFC20203", "Database Design");
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the CORRECT query for using comparison operators in SQL.
SELECT eName, ePosition
FROM employeeInfo
WHERE age>40 AND <60;
SELECT eName, ePosition
FROM employeeInfo
WHERE age>40 AND age<60;
SELECT eName, ePosition
FROM employeeInfo
WHERE age>40 AND WHERE age<60;
SELECT eName, ePosition
FROM employeeInfo
WHERE >40 AND <60 age;
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
KUIZ MICROSOFT WORD

Quiz
•
University
10 questions
Lesson 11 Checking Spelling and Grammar

Quiz
•
University
10 questions
Total Quality Management (TQM)

Quiz
•
University
10 questions
Taller SQL

Quiz
•
University
10 questions
JAVA DATABASE CONNECTIVITY

Quiz
•
University
11 questions
BASIS DATA

Quiz
•
University
9 questions
Vue with Firestore basics

Quiz
•
University
12 questions
SQL QUIZ

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade