DataSys+ INNER LEFT RIGHT and FULL JOIN Types Quiz

Reviewed by Joshua Gelman
Joshua Gelman, CompTIA Certified |
CompTIA Expert
Review Board Member
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
, CompTIA Certified
By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 12 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. A FULL JOIN is supported in all SQL databases including MySQL.

Explanation

MySQL does not natively support `FULL OUTER JOIN`, which returns matched rows plus unmatched rows from both tables. It can be emulated by combining `LEFT JOIN` and `RIGHT JOIN` results, typically with `UNION`. Since it is not supported in every SQL database, the statement is false.

Submit
Please wait...
About This Quiz
DataSys+ Inner Left Right and Full Join Types Quiz - Quiz

This quiz evaluates your understanding of SQL JOIN operations, specifically INNER, LEFT, RIGHT, and FULL JOIN types. You'll test your knowledge of how each JOIN combines tables, when to use each type, and how they handle matching and non-matching rows. Master these fundamental relational database concepts essential for data systems... see moreadministration and SQL query optimization. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. When joining tables with multiple matching keys, you must use multiple ____ conditions.

Explanation

When a join uses multiple matching keys, include a comparison for each key in the join condition. Combine the comparisons with `AND` so rows match only when all specified key values correspond. This helps ensure the join returns accurate results when one key alone is insufficient.

Submit

3. LEFT and RIGHT JOINs are collectively referred to as ____ JOINs.

Explanation

LEFT and RIGHT JOINs are types of outer joins. A LEFT JOIN preserves all rows from the left table, while a RIGHT JOIN preserves all rows from the right table; both include matching rows from the other table when available.

Submit

4. A CROSS JOIN produces a ____ product of the two tables.

Explanation

A CROSS JOIN pairs every row in the first table with every row in the second table. This creates all possible row combinations, known as the Cartesian product; if the tables contain *m* and *n* rows, the result contains *m × n* rows.

Submit

5. Which JOIN type is used when you need to find customers who have never placed an order?

Explanation

A LEFT JOIN returns every row from the customers table, including customers without a matching order. For customers who have never placed an order, the order columns will be NULL. Filtering for those NULL values identifies the customers with no orders.

Submit

6. In a FULL JOIN, a row with no match in either table will still appear in the result set.

Explanation

A FULL JOIN returns all rows from both tables. When a row has no matching row in the other table, it still appears in the result, with NULL values in the columns belonging to the table that had no match.

Submit

7. The ON clause in a JOIN specifies the ____ condition between the tables.

Explanation

The ON clause defines the condition used to match rows from two tables during a JOIN. It commonly compares related columns, such as a customer ID in one table with the corresponding customer ID in another, determining which rows are combined in the query result.

Submit

8. What is the primary difference between a RIGHT JOIN and a FULL JOIN?

Explanation

A RIGHT JOIN returns all rows from the right table, matching rows from the left table when available, and NULLs for missing left-side values. A FULL JOIN returns all rows from both tables, including unmatched rows from either side, filling columns from the missing side with NULLs.

Submit

9. In a LEFT JOIN, if there are 100 rows in the left table and 50 matching rows in the right table, the result set will contain exactly 50 rows.

Explanation

A LEFT JOIN retains every row from the left table, including rows with no match on the right. With 100 left-table rows, the result has at least 100 rows; multiple matches can increase that number. It therefore cannot be assumed to contain exactly 50 rows.

Submit

10. Which JOIN type typically returns the smallest result set?

Explanation

An INNER JOIN includes only rows with matching values in both tables. LEFT, RIGHT, and FULL joins also preserve unmatched rows from one or both sides, so they typically return more rows. Actual result sizes depend on the data and join conditions.

Submit

11. What does an INNER JOIN return?

Explanation

An INNER JOIN combines rows from two tables only when the specified join condition matches in both. Rows without a corresponding match in either table are excluded from the result.

Submit

12. When would you use an INNER JOIN instead of a LEFT JOIN?

Explanation

An INNER JOIN returns only records where the join condition matches rows in both tables. Use it when unmatched rows from either table should be excluded. A LEFT JOIN, by contrast, keeps every row from the left table, even when no matching row exists on the right.

Submit

13. A RIGHT JOIN is functionally equivalent to a LEFT JOIN with the table order ____.

Explanation

A RIGHT JOIN keeps every row from the table on its right and matches rows from the left table. Swapping the table order and using a LEFT JOIN preserves the same result, so the table order is reversed.

Submit

14. If a value exists in the left table but not the right table during a LEFT JOIN, the corresponding right table columns will contain ____.

Explanation

A LEFT JOIN keeps every row from the left table. When a matching row does not exist in the right table, the right table’s columns are filled with NULL values.

Submit

15. Which JOIN type combines all rows from both tables, filling in NULLs where matches don't exist?

Explanation

FULL JOIN returns every row from both tables, combining rows when their join conditions match. When a row has no match in the other table, the missing table’s columns are filled with NULLs.

Submit

16. A LEFT JOIN returns unmatched rows from the right table as NULL.

Explanation

A LEFT JOIN keeps every row from the left table and adds matching values from the right table. When a left-table row has no match, the right-table columns are filled with NULL. It does not return unmatched right-table rows; those are included by a RIGHT JOIN. Therefore, the statement reverses the join behavior.

Submit

17. An INNER JOIN will produce NULL values in the result set.

Explanation

An INNER JOIN returns only rows where the join condition matches in both tables. It does not add rows with NULLs to represent unmatched records; that behavior is associated with an OUTER JOIN. Any NULL values in an INNER JOIN result must already exist in the matched source data.

Submit

18. What is a FULL JOIN also known as?

Explanation

A FULL JOIN returns all rows from both tables, matching rows where possible and including unmatched rows from either side. It is also known as a FULL OUTER JOIN.

Submit

19. A RIGHT JOIN preserves all rows from which table?

Explanation

A RIGHT JOIN returns every row from the table on the right side of the JOIN, along with matching rows from the left table. If no match exists, the left table’s columns are filled with NULL values.

Submit

20. Which JOIN type includes all rows from the left table and matching rows from the right?

Explanation

A LEFT JOIN returns every row from the left table, along with matching rows from the right table. If no match exists, the right table’s columns are returned as NULL.

Submit
×
Saved
Thank you for your feedback!
View My Results
Joshua Gelman |CompTIA Certified |
CompTIA Expert
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A FULL JOIN is supported in all SQL databases including MySQL.
When joining tables with multiple matching keys, you must use multiple...
LEFT and RIGHT JOINs are collectively referred to as ____ JOINs.
A CROSS JOIN produces a ____ product of the two tables.
Which JOIN type is used when you need to find customers who have never...
In a FULL JOIN, a row with no match in either table will still appear...
The ON clause in a JOIN specifies the ____ condition between the...
What is the primary difference between a RIGHT JOIN and a FULL JOIN?
In a LEFT JOIN, if there are 100 rows in the left table and 50...
Which JOIN type typically returns the smallest result set?
What does an INNER JOIN return?
When would you use an INNER JOIN instead of a LEFT JOIN?
A RIGHT JOIN is functionally equivalent to a LEFT JOIN with the table...
If a value exists in the left table but not the right table during a...
Which JOIN type combines all rows from both tables, filling in NULLs...
A LEFT JOIN returns unmatched rows from the right table as NULL.
An INNER JOIN will produce NULL values in the result set.
What is a FULL JOIN also known as?
A RIGHT JOIN preserves all rows from which table?
Which JOIN type includes all rows from the left table and matching...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!