Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Uso do FULL JOIN | Juntando Tabelas
SQL Intermediário
course content

Conteúdo do Curso

SQL Intermediário

SQL Intermediário

1. Agrupamento
2. Subconsultas Aninhadas
3. Juntando Tabelas
4. DDL e DML em SQL

book
Uso do 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.

Tarefa
test

Swipe to begin your solution

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 7
toggle bottom row

book
Uso do 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.

Tarefa
test

Swipe to begin your solution

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 7
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt