Mastering SQL Joins and Filters

Mastering SQL Joins and Filters

12th Grade

5 Qs

quiz-placeholder

Similar activities

HTML Beginner Quiz1

HTML Beginner Quiz1

9th Grade - University

10 Qs

Database - ERM - A Level AQA

Database - ERM - A Level AQA

11th Grade - University

10 Qs

Database Scenarios Review

Database Scenarios Review

12th Grade

10 Qs

PERINTAH SQL 01

PERINTAH SQL 01

10th Grade - University

10 Qs

Prueba Diagnostica de Base de Datos

Prueba Diagnostica de Base de Datos

9th - 12th Grade

10 Qs

Kuis Search Engine

Kuis Search Engine

12th Grade

10 Qs

delet11

delet11

10th - 12th Grade

10 Qs

7. PYTHON FUNCTIONS - 3

7. PYTHON FUNCTIONS - 3

12th Grade

10 Qs

Mastering SQL Joins and Filters

Mastering SQL Joins and Filters

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Anthony England

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?