
SQL Basics
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Medium
Makarand Sawant
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which SQL statement is used to retrieve data from database?
INSERT
DELETE
SELECT
UPDATE
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the following Code snippet do?
ALTER TABLE STUDENT ADD(ADDRESS VARCHAR2(20));
Adds a column called ADDRESS in table STUDENT
Checks if column ADDRESS in the table STUDENT is VARCHAR
Syntax Error
None of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In "UPDATE Employees SET Age = Age + 1 WHERE Department IN ('Sales', 'HR') AND Age >= 30;",
identify the error.
IN keyword is incorrect
AND does not work in where with Update
Expression in SET clause
All Correct
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When is the wildcard in WHERE clause used?
An exact match is necessary for a CREATE statement.
An exact match is not possible in a SELECT statement.
An exact match is necessary for a SELECT statement.
None of the above.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5. What is TRUE about UNION ALL Operator?
The results of both queries are combined with this operator.
After performing the UNION ALL operation, duplicate rows will not be removed.
Both A and B
None of the above
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the difference between UNION & UNION ALL operators?
Combining the results of two select statements will be done using UNION whereas combined records from both queries are returned by UNION ALL operator.
Combining the results of two select statements will be done using UNION ALL whereas combined records from both queries are returned by UNION operator.
After performing the UNION operation, duplicate rows will not be removed whereas after performing the UNION ALL operation, duplicate rows will be removed.
None of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which SQL constraint do we use to set some value to a field whose value has not been added explicitly?
UNIQUE
NOT NULL
DEFAULT
CHECK
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
SKT - 2 Feb
Quiz
•
Professional Development
12 questions
SDT Fast Facts
Quiz
•
Professional Development
10 questions
CIPS Category Management Cycle
Quiz
•
Professional Development
10 questions
IOS vocabulary
Quiz
•
Professional Development
11 questions
The Loud House
Quiz
•
Professional Development
10 questions
No PED I Health
Quiz
•
Professional Development
11 questions
Emoji Game (Christmas Edition) 🎬🎵
Quiz
•
Professional Development
10 questions
BEKERJA DEKAT TEBING
Quiz
•
Professional Development
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
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
