Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 901–925 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 901 | 207 | 5982 | 2018-06-08 13:27:02 |
| 902 | 207 | 5983 | 2018-06-08 13:27:02 |
| 903 | 207 | 5984 | 2018-06-08 13:27:02 |
| 904 | 207 | 5985 | 2018-06-08 13:27:02 |
| 905 | 207 | 5986 | 2018-06-08 13:27:02 |
| 906 | 207 | 5987 | 2018-06-08 13:27:02 |
| 907 | 207 | 5988 | 2018-06-08 13:27:02 |
| 908 | 207 | 5989 | 2018-06-08 13:27:02 |
| 909 | 207 | 5990 | 2018-06-08 13:27:02 |
| 910 | 207 | 5991 | 2018-06-08 13:27:02 |
| 911 | 207 | 5992 | 2018-06-08 13:27:02 |
| 912 | 207 | 5993 | 2018-06-08 13:27:02 |
| 913 | 207 | 5994 | 2018-06-08 13:27:02 |
| 914 | 207 | 5995 | 2018-06-08 13:27:02 |
| 915 | 207 | 5996 | 2018-06-08 13:27:02 |
| 916 | 207 | 5997 | 2018-06-08 13:27:02 |
| 917 | 207 | 5998 | 2018-06-08 13:27:02 |
| 918 | 207 | 5999 | 2018-06-08 13:27:02 |
| 919 | 207 | 6000 | 2018-06-08 13:27:02 |
| 920 | 207 | 6001 | 2018-06-08 13:27:02 |
| 921 | 207 | 6002 | 2018-06-08 13:27:02 |
| 922 | 207 | 6003 | 2018-06-08 13:27:02 |
| 923 | 207 | 6004 | 2018-06-08 13:27:02 |
| 924 | 208 | 6005 | 2018-06-08 13:27:02 |
| 925 | 208 | 6006 | 2018-06-08 13:27:02 |
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;