Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 851–875 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 851 | 190 | 5705 | 2018-05-08 11:47:34 |
| 852 | 187 | 5738 | 2018-05-10 12:29:48 |
| 853 | 187 | 5739 | 2018-05-10 12:29:48 |
| 854 | 181 | 5745 | 2018-05-12 09:12:29 |
| 855 | 181 | 5746 | 2018-05-12 09:12:29 |
| 856 | 181 | 5747 | 2018-05-12 09:12:29 |
| 857 | 183 | 5769 | 2018-05-13 23:45:57 |
| 858 | 183 | 5770 | 2018-05-13 23:45:57 |
| 859 | 183 | 5771 | 2018-05-13 23:45:57 |
| 860 | 183 | 5772 | 2018-05-13 23:45:57 |
| 861 | 184 | 5787 | 2018-05-16 19:09:03 |
| 862 | 186 | 5797 | 2018-05-18 13:47:28 |
| 863 | 186 | 5798 | 2018-05-18 13:47:28 |
| 864 | 185 | 5832 | 2018-05-28 22:08:45 |
| 865 | 185 | 5833 | 2018-05-28 22:08:45 |
| 866 | 191 | 5878 | 2018-05-31 14:32:14 |
| 867 | 191 | 5879 | 2018-05-31 14:32:14 |
| 868 | 191 | 5880 | 2018-05-31 14:32:14 |
| 869 | 191 | 5881 | 2018-05-31 14:32:14 |
| 870 | 188 | 5882 | 2018-05-31 15:05:42 |
| 871 | 188 | 5883 | 2018-05-31 15:05:42 |
| 872 | 188 | 5884 | 2018-05-31 15:05:42 |
| 873 | 189 | 5894 | 2018-06-02 19:11:07 |
| 874 | 189 | 5895 | 2018-06-02 19:11:07 |
| 875 | 192 | 5942 | 2018-06-06 07:00:49 |
Table definition
CREATE TABLE exhibition_booking (
booking_id INTEGER PRIMARY KEY,
slot_id INTEGER NOT NULL REFERENCES exhibition_slot (slot_id),
ticket_id INTEGER NOT NULL REFERENCES ticket (ticket_id),
booked_at TEXT NOT NULL,
UNIQUE (slot_id, ticket_id)
) STRICT;