What is the purpose of a JOIN in SQL?

Mastering SQL Joins

Quiz
•
Computers
•
KG
•
Medium
Ms. Preeti Gupta
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To combine rows from two or more tables based on a related column.
To update existing records in a table.
To create a new table in the database.
To delete rows from a table.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of JOIN returns all records from the left table and matched records from the right table?
RIGHT JOIN
INNER JOIN
LEFT JOIN
FULL OUTER JOIN
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL JOIN returns all records from both tables, regardless of whether there is a match?
RIGHT JOIN
FULL OUTER JOIN
LEFT JOIN
INNER JOIN
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between INNER JOIN and OUTER JOIN?
OUTER JOIN only returns unmatched rows.
INNER JOIN can include NULL values from both tables.
INNER JOIN returns all rows from both tables.
INNER JOIN returns matched rows; OUTER JOIN returns all rows from one table with matched rows from the other.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you perform a LEFT JOIN in SQL?
SELECT columns FROM table1 LEFT JOIN table2 ON table1.common_column = table2.common_column;
SELECT columns FROM table1 RIGHT JOIN table2 ON table1.common_column = table2.common_column;
SELECT columns FROM table1 JOIN table2 USING (common_column);
SELECT columns FROM table1 INNER JOIN table2 ON table1.common_column = table2.common_column;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to specify the condition for a JOIN?
FILTER
ON
WITH
WHERE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a CROSS JOIN do in SQL?
A CROSS JOIN creates a new table with unique rows from both tables.
A CROSS JOIN only combines rows with matching values.
A CROSS JOIN filters rows based on a condition.
A CROSS JOIN combines every row of one table with every row of another table.
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
AQA GCSE Databases and SQL

Quiz
•
9th - 12th Grade
14 questions
MICROSOFT ACCESS

Quiz
•
5th Grade
10 questions
DATABASE MS ACCESS 2010

Quiz
•
8th Grade
10 questions
QUIZ ON SQL

Quiz
•
University
15 questions
Quiz on SQL Update Query

Quiz
•
12th Grade
15 questions
SQL Joins Quiz

Quiz
•
KG - University
15 questions
Databases

Quiz
•
9th - 12th Grade
14 questions
SQL Join and Like Quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade