Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: FULL JOIN Usage | Joining Tables
Intermediate SQL
course content

Contenuti del Corso

Intermediate SQL

Intermediate SQL

1. Grouping
2. Nested Subqueries
3. Joining Tables
4. DDL and DML in SQL

book
Challenge: FULL JOIN Usage

In this chapter, you'll learn how to use a different type of table join. Unlike the previous chapters where you could use the same JOIN, this time you'll need to apply a specific one.

Compito

Swipe to start coding

Write a query to retrieve a list of all courses and students, including those courses with no registered students and those students who are not registered for any course.

To accomplish this, you will need to use a specific type of join. Also, retrieve the columns in the exact order as specified:

git

Additionally, sort the result by the course_id column. Good luck!

Brief Instructions

  • Retrieve the necessary columns from the courses table.
  • Use a FULL JOIN to join the enrollments table.
  • The common column for both tables is courses.course_id = enrollments.course_id.
  • Sort the results by courses.course_id.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 7
toggle bottom row

book
Challenge: FULL JOIN Usage

In this chapter, you'll learn how to use a different type of table join. Unlike the previous chapters where you could use the same JOIN, this time you'll need to apply a specific one.

Compito

Swipe to start coding

Write a query to retrieve a list of all courses and students, including those courses with no registered students and those students who are not registered for any course.

To accomplish this, you will need to use a specific type of join. Also, retrieve the columns in the exact order as specified:

git

Additionally, sort the result by the course_id column. Good luck!

Brief Instructions

  • Retrieve the necessary columns from the courses table.
  • Use a FULL JOIN to join the enrollments table.
  • The common column for both tables is courses.course_id = enrollments.course_id.
  • Sort the results by courses.course_id.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 7
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt