Practice Sql Joins (5.5) - Structured Query Language (SQL) - Part 2 - Introduction to Database Systems
Students

Academic Programs

AI-powered learning for grades 8-12, aligned with major curricula

Professional

Professional Courses

Industry-relevant training in Business, Technology, and Design

Games

Interactive Games

Fun games to boost memory, math, typing, and English skills

SQL Joins

Practice - SQL Joins

Learning

Practice Questions

Test your understanding with targeted questions

Question 1 Easy

What does an INNER JOIN do?

💡 Hint: Think about when two tables share common data.

Question 2 Easy

What type of JOIN would show all students even if they do not have a department?

💡 Hint: Remember the left table keeps all its rows.

4 more questions available

Interactive Quizzes

Quick quizzes to reinforce your learning

Question 1

Which JOIN returns all rows from the left table and matched rows from the right table?

INNER JOIN
LEFT JOIN
FULL JOIN

💡 Hint: Which join is all about keeping the left side?

Question 2

True or False: A RIGHT JOIN returns only rows where there is a matching record in the left table.

True
False

💡 Hint: Think about what each side retains.

1 more question available

Challenge Problems

Push your limits with advanced challenges

Challenge 1 Hard

What would happen if you applied a LEFT JOIN to a table that has several NULL values for the join column? Illustrate with an example SQL query.

💡 Hint: Consider how NULL values affect the outcome.

Challenge 2 Hard

Write a SQL statement using FULL JOIN to find all departments and students, regardless of whether there is a match.

💡 Hint: Think about how you’d include unmatched entries on both sides.

Get performance evaluation

Reference links

Supplementary resources to enhance your learning experience.