CaptainNick13
New member
- Local time
- Today, 14:30
- Joined
- Aug 9, 2010
- Messages
- 5
Hi guys, it's been a long time since I've had to build a database and am struggling with one section for a seat reservation system.
I currently have 4 simple tables as follows:
Customer-
+CustomerID
-Surname
-Forename
-Telephone
Play-
+PlayID
-Title
-Author
-LeadActor
Playbill-
+PlaybillID
+PlayID
-Date
-Time
Reservation-
+ReservationID
+CustomerID
+PlaybillID
The end result of the database is for the user to book 1 or more tickets for a viewing of a play on a given date & time. My current problem is creating some kind of instance of a floor plan to contain the seats so I can seat a seat (example D9) as reserved in a showing at 4pm without it becoming reserved for all showings on all dates etc.
My initial idea was a Floorplan table and a seat table but when I come to design these parts they look wrong and will obviously not work how I want them to.
Does anyone have any suggestions as to how i can make this work and what further tables I would require?
I currently have 4 simple tables as follows:
Customer-
+CustomerID
-Surname
-Forename
-Telephone
Play-
+PlayID
-Title
-Author
-LeadActor
Playbill-
+PlaybillID
+PlayID
-Date
-Time
Reservation-
+ReservationID
+CustomerID
+PlaybillID
The end result of the database is for the user to book 1 or more tickets for a viewing of a play on a given date & time. My current problem is creating some kind of instance of a floor plan to contain the seats so I can seat a seat (example D9) as reserved in a showing at 4pm without it becoming reserved for all showings on all dates etc.
My initial idea was a Floorplan table and a seat table but when I come to design these parts they look wrong and will obviously not work how I want them to.
Does anyone have any suggestions as to how i can make this work and what further tables I would require?