Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Práctica de unión de tablas | 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
Práctica de unión de tablas

In this task, you'll need to use a different type of JOIN, or you can use the same one you used in the previous chapter, as long as you get the correct result.

Tarea
test

Swipe to show code editor

Write a query to retrieve a list of all students and the courses they are enrolled in, including students who are not enrolled in any course.

Use an appropriate type of JOIN and use the columns in the following order:

As you can see, there are no aliases here, so do not use them to ensure the task is correctly evaluated.

Brief Instructions

  • Retrieve the necessary columns from the courses table.
  • Use a RIGHT JOIN to join the enrollments table.
  • The common column for both tables is enrollments.course_id = courses.course_id.
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 6
toggle bottom row

book
Práctica de unión de tablas

In this task, you'll need to use a different type of JOIN, or you can use the same one you used in the previous chapter, as long as you get the correct result.

Tarea
test

Swipe to show code editor

Write a query to retrieve a list of all students and the courses they are enrolled in, including students who are not enrolled in any course.

Use an appropriate type of JOIN and use the columns in the following order:

As you can see, there are no aliases here, so do not use them to ensure the task is correctly evaluated.

Brief Instructions

  • Retrieve the necessary columns from the courses table.
  • Use a RIGHT JOIN to join the enrollments table.
  • The common column for both tables is enrollments.course_id = courses.course_id.
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 6
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