Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Cinemas Like 'Central' | Join Data
Practice SQL with Cinema Database
course content

Conteúdo do Curso

Practice SQL with Cinema Database

Practice SQL with Cinema Database

1. Aggregating Data
2. Ordering Data
3. Join Data

Cinemas Like 'Central'

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

Cinemas Like 'Central'

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

Cinemas Like 'Central'

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

Find all cinemas, that in a schedule have at least one movie, as a cinema 'Central' has. For example, if next cinemas have movies:

  • 'Central' has movies 'The Spiderman', 'Mean Girls', 'Origin'
  • 'Golden' has movies 'The Great Gatsby', 'The Spiderman', 'Origin'
  • 'Ocean' has movies 'Pretty Woman', 'Mean Girls', 'Titanic'
  • 'Superstar' has movies 'The Spiderman', 'Mean Girls', 'Origin', and 'Romeo and Juliet'

All these cinemas have at least one movie as Central has, so they are all correct.

Note that these examples are not the same as the data in the table: you can't use hardcoded values of the movies. Your query should work even if we change the records in the database.

Name the column of results cinema.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 3. Capítulo 3
Mude 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