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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Praktikum Pertemuan 5
Quiz
•
University
10 questions
MongoDB Concepts 2
Quiz
•
University
16 questions
Excel Intermediate Quiz
Quiz
•
10th Grade - University
10 questions
Base de Datos I - Parte 1
Quiz
•
University
14 questions
RM_5. nedelja
Quiz
•
University
14 questions
Artificial Intelligence Basics Quiz
Quiz
•
University
16 questions
Minecraft Education Edition Basics Quiz
Quiz
•
7th Grade - University
20 questions
Ktra thường xuyên Tin 11
Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
