
SQL JOIN Quiz

Quiz
•
Other
•
University
•
Medium

Lythia Amoakon
Used 2+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of a JOIN in SQL?
To delete rows from multiple tables
To combine rows from two or more tables based on a related column
To add new columns to a table
To update data in a single table
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following types of JOIN returns only matching rows from both tables?
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL OUTER JOIN
3.
DRAG AND DROP QUESTION
1 min • 1 pt
A LEFT JOIN will return rows from the left table with (a) for non-matching rows in the right table.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
SELECT e.Name, d.DepartmentName
FROM Employees e
LEFT JOIN Departments d
ON e.DepartmentID = d.DepartmentID;
What is the result of the query?
Alice - HR; Bob - NULL; Charlie - IT
Alice - HR; Charlie - IT
NULL - NULL
Alice - HR; Bob - IT; Charlie - IT
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which JOIN should you use to include unmatched rows from both tables?
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL OUTER JOIN
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of using an INNER JOIN with no matching records between tables?
NULL rows
No rows returned
All rows from both tables
Rows from the left table only
7.
DRAG AND DROP QUESTION
1 min • 1 pt
(a) will produce the same result as reversing the roles of the two tables in a LEFT JOIN.
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
Grade 4 Math Unit Test Review

Quiz
•
4th Grade - University
20 questions
Quiz on Writing a Publishable Research Article

Quiz
•
11th Grade - University
20 questions
Pemahaman Teori Perkembangan Kognitif Piaget dan Vygotsky

Quiz
•
University
23 questions
Festivals Quiz IEG TOMO

Quiz
•
6th Grade - University
20 questions
SBD_2024

Quiz
•
University
20 questions
DBMS_2

Quiz
•
University
25 questions
Inner Ear

Quiz
•
University
25 questions
Excel

Quiz
•
12th Grade - University
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
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University