Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Uso de FULL JOIN | Uniendo Tablas
SQL Intermedio
course content

Contenido del Curso

SQL Intermedio

SQL Intermedio

1. Agrupamiento
2. Subconsultas Anidadas
3. Uniendo Tablas
4. DDL y DML en SQL

book
Uso de FULL JOIN

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.

Tarea
test

Swipe to show code editor

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:

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 7
toggle bottom row

book
Uso de FULL JOIN

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.

Tarea
test

Swipe to show code editor

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:

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 7
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt