
Mastering SQL Joins and Filters

Quiz
•
Computers
•
12th Grade
•
Hard
Anthony England
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of SQL join returns all records from the left table and the matched records from the right table, with nulls in place where there is no match?
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL JOIN
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL clause is used to filter records that meet a certain condition?
ORDER BY
GROUP BY
WHERE
HAVING
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider two tables, `Students` and `Courses`. To find all students who have not enrolled in any course, which SQL join would you use?
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL JOIN
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL statement will return all records from both tables and fill in nulls for missing matches?
SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id;
SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.id;
SELECT * FROM table1 RIGHT JOIN table2 ON table1.id = table2.id;
SELECT * FROM table1 FULL JOIN table2 ON table1.id = table2.id;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to filter results based on an aggregate function, which SQL clause should you use?
WHERE
ORDER BY
GROUP BY
HAVING
Similar Resources on Wayground
10 questions
Database Scenarios Review

Quiz
•
12th Grade
10 questions
Deel 2 - H5 - Begrippen data en informatie

Quiz
•
12th Grade
10 questions
ICTDBS506 Creating a 'Car Pool' Database with MySQL

Quiz
•
12th Grade - University
10 questions
Exemples de syntaxe en SQL

Quiz
•
12th Grade
10 questions
Prueba_MARZO2024_5to APLICACIONES

Quiz
•
12th Grade
10 questions
Perintah Join SQL

Quiz
•
11th Grade - University
10 questions
2da Prueba_5to Aplicaciones_2023-2024

Quiz
•
12th Grade
10 questions
Base de Datos S12

Quiz
•
12th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade