Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 126–150 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 126 | 15 | 668 | 2015-06-12 23:26:08 |
| 127 | 15 | 669 | 2015-06-12 23:26:08 |
| 128 | 15 | 670 | 2015-06-12 23:26:08 |
| 129 | 15 | 671 | 2015-06-12 23:26:08 |
| 130 | 17 | 1070 | 2015-09-05 17:15:36 |
| 131 | 17 | 1071 | 2015-09-05 17:15:36 |
| 132 | 16 | 1126 | 2015-09-14 11:21:09 |
| 133 | 16 | 1127 | 2015-09-14 11:21:09 |
| 134 | 18 | 1188 | 2015-09-20 20:16:08 |
| 135 | 18 | 1189 | 2015-09-20 20:16:08 |
| 136 | 19 | 1300 | 2015-10-11 09:39:03 |
| 137 | 19 | 1301 | 2015-10-11 09:39:03 |
| 138 | 19 | 1302 | 2015-10-11 09:39:03 |
| 139 | 19 | 1303 | 2015-10-11 09:39:03 |
| 140 | 20 | 1322 | 2015-10-14 22:20:51 |
| 141 | 20 | 1323 | 2015-10-14 22:20:51 |
| 142 | 21 | 1350 | 2015-10-23 16:12:04 |
| 143 | 22 | 1417 | 2015-11-03 09:51:19 |
| 144 | 23 | 1421 | 2015-11-06 15:12:08 |
| 145 | 23 | 1422 | 2015-11-06 15:12:08 |
| 146 | 23 | 1423 | 2015-11-06 15:12:08 |
| 147 | 27 | 1429 | 2015-11-09 19:08:18 |
| 148 | 27 | 1430 | 2015-11-09 19:08:18 |
| 149 | 27 | 1431 | 2015-11-09 19:08:18 |
| 150 | 24 | 1433 | 2015-11-12 08:25:14 |
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;