Cinemas Like 'Central'
Swipe to start coding
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
.
Løsning
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.55
Cinemas Like 'Central'
Sveip for å vise menyen
Swipe to start coding
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
.
Løsning
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 4.55single