Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 876–900 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 876 | 192 | 5943 | 2018-06-06 07:00:49 |
| 877 | 192 | 5944 | 2018-06-06 07:00:49 |
| 878 | 192 | 5945 | 2018-06-06 07:00:49 |
| 879 | 207 | 5960 | 2018-06-08 13:27:02 |
| 880 | 207 | 5961 | 2018-06-08 13:27:02 |
| 881 | 207 | 5962 | 2018-06-08 13:27:02 |
| 882 | 207 | 5963 | 2018-06-08 13:27:02 |
| 883 | 207 | 5964 | 2018-06-08 13:27:02 |
| 884 | 207 | 5965 | 2018-06-08 13:27:02 |
| 885 | 207 | 5966 | 2018-06-08 13:27:02 |
| 886 | 207 | 5967 | 2018-06-08 13:27:02 |
| 887 | 207 | 5968 | 2018-06-08 13:27:02 |
| 888 | 207 | 5969 | 2018-06-08 13:27:02 |
| 889 | 207 | 5970 | 2018-06-08 13:27:02 |
| 890 | 207 | 5971 | 2018-06-08 13:27:02 |
| 891 | 207 | 5972 | 2018-06-08 13:27:02 |
| 892 | 207 | 5973 | 2018-06-08 13:27:02 |
| 893 | 207 | 5974 | 2018-06-08 13:27:02 |
| 894 | 207 | 5975 | 2018-06-08 13:27:02 |
| 895 | 207 | 5976 | 2018-06-08 13:27:02 |
| 896 | 207 | 5977 | 2018-06-08 13:27:02 |
| 897 | 207 | 5978 | 2018-06-08 13:27:02 |
| 898 | 207 | 5979 | 2018-06-08 13:27:02 |
| 899 | 207 | 5980 | 2018-06-08 13:27:02 |
| 900 | 207 | 5981 | 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;