
SQL Quiz
Authored by Quốc Thư
Computers
9th Grade
Used 2+ 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
Which word is missing from the following SQL statement? Select * table_name
With
Where
From
And
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL statement would add a record to the database?
INSERT INTO Designer VALUES ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456')
INSERT VALUES ('SMI01', 'M Smith', 'mail@msmith.com', 01224123456') INTO Designer
INSERT ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456') INTO Designer
INSERT Designer INTO VALUES (''SMI01', 'M Smith', 'mail@msmith.com', '01224123456')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the CREATE Command belong?
DML
DDL
DCL
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is a DML command that is used to display record.
DISPLAY
STRUCTURE
WHERE
SELECT
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
______________ constraint prevents NULL values
UNIQUE
NOT NULL
NULL
FOREIGN KEY
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A primary key can be NULL in the table? TRUE or FALSE
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are required to update the phone number for only the DesignerID "SMI01" in the "Designer" table. Which of these would successfully do that?
UPDATE Designer SET PhoneNo = '01224123456'
UPDATE Designer (PhoneNo) VALUES ('01224123456')
UPDATE Designer SET PhoneNo = '01224123456' WHERE DesignerID = 'SMI01'
UPDATE PhoneNo = '01224123456' FROM Designer WHERE DesignerID = 'SMI01'
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
Impresa e siti web
Quiz
•
8th - 12th Grade
7 questions
CSS Rules Quiz-unit 4 CodeHS
Quiz
•
7th Grade - University
15 questions
Excel Chapter 12 Charts
Quiz
•
8th - 9th Grade
10 questions
Advanced SQL
Quiz
•
KG - University
10 questions
HT3 Digital Graphics
Quiz
•
KG - 12th Grade
14 questions
Lesson 2 Quiz - Environment and Market
Quiz
•
9th Grade
14 questions
AQA GCSE Databases and SQL
Quiz
•
9th - 12th Grade
10 questions
Fun with Paint and Storage
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade