Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 951–975 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 951 | 203 | 6100 | 2018-06-28 17:23:50 |
| 952 | 204 | 6108 | 2018-06-29 16:35:24 |
| 953 | 204 | 6109 | 2018-06-29 16:35:24 |
| 954 | 200 | 6110 | 2018-06-29 20:19:21 |
| 955 | 200 | 6111 | 2018-06-29 20:19:21 |
| 956 | 199 | 6112 | 2018-06-29 22:07:28 |
| 957 | 199 | 6113 | 2018-06-29 22:07:28 |
| 958 | 215 | 6120 | 2018-06-30 13:28:55 |
| 959 | 215 | 6121 | 2018-06-30 13:28:55 |
| 960 | 215 | 6122 | 2018-06-30 13:28:55 |
| 961 | 215 | 6123 | 2018-06-30 13:28:55 |
| 962 | 215 | 6124 | 2018-06-30 13:28:55 |
| 963 | 215 | 6125 | 2018-06-30 13:28:55 |
| 964 | 215 | 6126 | 2018-06-30 13:28:55 |
| 965 | 215 | 6127 | 2018-06-30 13:28:55 |
| 966 | 215 | 6128 | 2018-06-30 13:28:55 |
| 967 | 215 | 6129 | 2018-06-30 13:28:55 |
| 968 | 215 | 6130 | 2018-06-30 13:28:55 |
| 969 | 215 | 6131 | 2018-06-30 13:28:55 |
| 970 | 215 | 6132 | 2018-06-30 13:28:55 |
| 971 | 215 | 6133 | 2018-06-30 13:28:55 |
| 972 | 215 | 6134 | 2018-06-30 13:28:55 |
| 973 | 215 | 6135 | 2018-06-30 13:28:55 |
| 974 | 215 | 6136 | 2018-06-30 13:28:55 |
| 975 | 215 | 6137 | 2018-06-30 13:28:55 |
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;