Cinema's database
Welcome to the SQL Bootcamp! In this course, we'll be working with data on cinemas and movies. We have data stored in the database with the next schema:
This database consists of six tables:
directorcontains info about te various movies directors.managercontains a list of cinemas' managers.genrestores list of movies genres.cinemacontains a list of cinemas. Each cinema haslabelcolumn as a cinema's name,address,manager_idthat refers tomanagertable, andcityin which the cinema is located.movietable stores data aboutlabel,yearof release,genre_id, anddirector_id, as well as the movierating.scheduletable contains records of ids' pairs:cinema_idandmovie_id. It corresponds to which movie has the box office in which cinema and the total sales of this movie in this cinema.
Here we can see the records of the movie table.
To see other tables' content, run the select query using the code editor.
Note that some fields may contain NULL values; some movies may not be at the box office, or some directors have not produced films among present in the movie table. This database is created for studying, but it represents the real-like databases that can contain imperfect data or some extra data. Don't be afraid of it, but keep in mind.
The order of the rows matters. If you are unable to submit a valid query due to Incorrect Output, double check that the rows are arranged as requested in the assignment. Then check that the column names are correct.
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 4.55
Cinema's database
Glissez pour afficher le menu
Welcome to the SQL Bootcamp! In this course, we'll be working with data on cinemas and movies. We have data stored in the database with the next schema:
This database consists of six tables:
directorcontains info about te various movies directors.managercontains a list of cinemas' managers.genrestores list of movies genres.cinemacontains a list of cinemas. Each cinema haslabelcolumn as a cinema's name,address,manager_idthat refers tomanagertable, andcityin which the cinema is located.movietable stores data aboutlabel,yearof release,genre_id, anddirector_id, as well as the movierating.scheduletable contains records of ids' pairs:cinema_idandmovie_id. It corresponds to which movie has the box office in which cinema and the total sales of this movie in this cinema.
Here we can see the records of the movie table.
To see other tables' content, run the select query using the code editor.
Note that some fields may contain NULL values; some movies may not be at the box office, or some directors have not produced films among present in the movie table. This database is created for studying, but it represents the real-like databases that can contain imperfect data or some extra data. Don't be afraid of it, but keep in mind.
The order of the rows matters. If you are unable to submit a valid query due to Incorrect Output, double check that the rows are arranged as requested in the assignment. Then check that the column names are correct.
Merci pour vos commentaires !
single