hxp
06-10-2009, 12:41 PM
Hello, I have been trying to make a query which gives me "All movies that has been shown in all cinemas". The table structure looks like this (only listing the relevant tables and columns):
Table name: {Column names} (#name = primary key and *name = foreign key).
Cinema: {#cinema_id, ...}
Auditorium: {#auditorium_id, *cinema_id, ...}
Performance: {#performance_id, *auditorium_id, *movie_id, ...}
Movie: {#movie_id, ...}
This query has been driving me nuts and I'm posting the question here to get some fresh ideas :P
All answers are appreciated, thanks in advance :)
~ Michael
Table name: {Column names} (#name = primary key and *name = foreign key).
Cinema: {#cinema_id, ...}
Auditorium: {#auditorium_id, *cinema_id, ...}
Performance: {#performance_id, *auditorium_id, *movie_id, ...}
Movie: {#movie_id, ...}
This query has been driving me nuts and I'm posting the question here to get some fresh ideas :P
All answers are appreciated, thanks in advance :)
~ Michael