
SQL Basics

Quiz
•
Other
•
Professional Development
•
Medium
Makarand Sawant
Used 1+ times
FREE Resource
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
8.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What type of join returns all rows from both tables, joining records where matching & adding NULLs if there's no
match?
CROSS JOIN
INNER JOIN
FULL OUTER JOIN
LEFT JOIN
Similar Resources on Wayground
10 questions
Pre Test Canva

Quiz
•
Professional Development
8 questions
ICTPRG431 - SQL Joins and Subqueries

Quiz
•
Professional Development
10 questions
Post Test FGD KPI Operator

Quiz
•
Professional Development
10 questions
WI3000-PD09 R7 (BEAD PEENING)

Quiz
•
Professional Development
12 questions
Data Analysis Fundamental using Excel

Quiz
•
Professional Development
10 questions
3. Pandas Basic Quiz II

Quiz
•
Professional Development
13 questions
Tableau Basic

Quiz
•
Professional Development
10 questions
Pemanfaatan PMM

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade