
Mastering SQL Joins
Quiz
•
Computers
•
KG
•
Practice Problem
•
Medium
Ms. Preeti Gupta
Used 1+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a JOIN in SQL?
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
18 questions
Lenguaje de Definición de Datos
Quiz
•
University
10 questions
Formatting a Spreadsheet
Quiz
•
6th Grade
10 questions
K4_On tap HK 1_PowerPoint
Quiz
•
3rd - 5th Grade
15 questions
COMPUTER 4 - QUIZ REVIEW
Quiz
•
4th Grade
13 questions
Networks - Introduction
Quiz
•
10th Grade
10 questions
Table in PowerPoint
Quiz
•
9th Grade
15 questions
DBC CHAPTER 3 - REVISION
Quiz
•
University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
4 questions
Conflict Resolution
Lesson
•
KG
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
24 questions
CKLA Unit 5 assessment K
Quiz
•
KG
10 questions
STAAR Review - Editing & Revising Clusters
Quiz
•
KG
10 questions
Reflexive Pronouns
Quiz
•
KG - 5th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade
