Chapter 3 : SQL Command
Quiz
•
Information Technology (IT)
•
University
•
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
Grade 8:Changing Pitch and Speed in Audacity.
Quiz
•
10th 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
20 questions
Analisis Data dengan Excel
Quiz
•
University
10 questions
CS10337 - Lecture # 7
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
