Chapter 3 : SQL Command
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
SITI MUKHTAR
Used 8+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command correctly creates the ConferenceRoom table?
MAKE TABLE ConferenceRoom (room_id INT, room_name VARCHAR(100), capacity INT);
CREATE ConferenceRoom TABLE (room_id INT, room_name VARCHAR(100), capacity INT);
CREATE TABLE ConferenceRoom (
room_id INT PRIMARY KEY,
room_name VARCHAR(100),
capacity INT
);
TABLE CREATE ConferenceRoom (room_id INT, room_name VARCHAR(100), capacity INT);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command inserts a record into Employee?
INSERT Employee (1, 'Alice Tan', 'IT');
INSERT INTO Employee VALUES (1, 'Alice Tan', 'IT');
INSERT INTO Employee (emp_id, emp_name, department) VALUES 'Alice Tan', 1, 'IT';
ADD INTO Employee VALUES (1, 'Alice Tan', 'IT');
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query changes Workshop with workshop_id = 2 to title "Leadership Skills"?
UPDATE Workshop workshop_title = 'Leadership Skills' workshop_id = 2;
CHANGE Workshop SET workshop_title = 'Leadership Skills' WHERE workshop_id = 2;
UPDATE Workshop SET 'Leadership Skills' WHERE workshop_id = 2;
UPDATE Workshop
SET workshop_title = 'Leadership Skills'
WHERE workshop_id = 2;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Shows all employees from HR department?
SELECT * FROM Employee department = 'HR';
SELECT *
FROM Employee
WHERE department = 'HR';
SELECT emp_name FROM Employee HAVING department = 'HR';
SELECT emp_name FROM Employee GROUP BY department = 'HR';
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
shows Workshop title and ConferenceRoom name?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
shows employee name, workshop title, and fee paid?
SELECT e.emp_name, w.workshop_title, r.fee
FROM Registration r
JOIN Employee e ON r.emp_id = e.emp_id
JOIN Workshop w ON r.workshop_id = w.workshop_id;
SELECT e.emp_name, w.workshop_title, w.fee FROM Employee, Workshop, Registration;
SELECT e.emp_name, w.workshop_title, r.fee JOIN Employee e, Workshop w;
SELECT emp_name, workshop_title, fee FROM Registration NATURAL JOIN Employee;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
finds the highest fee paid?
SELECT fee FROM Registration MAX();
SELECT MAXIMUM(fee) FROM Registration;
SELECT MAX(fee) AS max_fee FROM Registration;
SELECT MAX fee FROM Registration;
Create a free account and access millions of resources
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
20 questions
Analisis Data dengan Excel
Quiz
•
University
10 questions
Exploring Loops in Scratch
Quiz
•
5th Grade - University
18 questions
Python: operadores y tipos de datos
Quiz
•
University
11 questions
Keyboard Shortcuts
Quiz
•
5th Grade - University
12 questions
CLC Unit 2 Lesson 5,6 & 7 Quiz
Quiz
•
University
18 questions
Database Refreshment
Quiz
•
University
10 questions
Asemen akhir
Quiz
•
10th Grade - University
10 questions
CS10337 - Lecture # 7
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
