
Topic 4: Structured Query Language (SQL)
Education
University
Used 35+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define the type of SQL that used to insert, delete and retrieve data within the database tables.
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;
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
10 questions
Recording Transaction
Quiz
•
University
10 questions
Type of Group and Teams
Quiz
•
University
11 questions
Linux Basic Commands Quiz
Quiz
•
University
15 questions
Pretest in I/O Psychology
Quiz
•
University
10 questions
OFFICE MANAGEMENT
Quiz
•
University
10 questions
Gambar Teknik Manufaktur
Quiz
•
1st Grade - Professio...
15 questions
Human Resource Management
Quiz
•
University
10 questions
3D моделирование
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Education
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University