What does an INNER JOIN do in SQL?
Understanding Inner Joins in SQL

Quiz
•
Computers
•
9th Grade
•
Medium
R Eveleigh
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Returns all rows from both tables, even if there is no match
Returns only rows where there is a match in both tables
Returns all rows from the left table and matched rows from the right table
Returns all rows from the right table and matched rows from the left table
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to perform an inner join in SQL?
OUTER JOIN
INNER JOIN
LEFT JOIN
RIGHT JOIN
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given two tables, Students and Classes, which SQL statement correctly performs an inner join on the column ClassID?
SELECT * FROM Students LEFT JOIN Classes ON Students.ClassID = Classes.ClassID;
SELECT * FROM Students INNER JOIN Classes ON Students.ClassID = Classes.ClassID;
SELECT * FROM Students RIGHT JOIN Classes ON Students.ClassID = Classes.ClassID;
SELECT * FROM Students FULL JOIN Classes ON Students.ClassID = Classes.ClassID;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a student is not enrolled in any class, will they appear in the result of an inner join between Students and Classes?
Yes, always
No, only if there is a matching class
Yes, but only if the class is empty
Yes, if the student’s name is not NULL
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the result of an inner join?
The intersection of two tables
The union of two tables
The difference between two tables
The sum of two tables
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose Table A has 10 rows and Table B has 8 rows. If 5 rows match on the join condition, how many rows will the inner join return?
8
10
5
18
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause is used to specify the condition for an inner join?
WHERE
ON
HAVING
GROUP BY
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Tin 11_cuối kì 2

Quiz
•
11th Grade
20 questions
DBMS Relational Algebra & Calculus Quiz 4

Quiz
•
University
15 questions
POST-TEST MODUL 1 APSI

Quiz
•
University
20 questions
DBMS

Quiz
•
University
15 questions
Taller de Base de Datos - Competencia 2 - Examen Práctico

Quiz
•
University
25 questions
MYSQL QUIZ 1

Quiz
•
University
15 questions
Preguntas sobre SQL

Quiz
•
9th - 12th Grade
20 questions
Database Design & Development 2

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade