Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 76–100 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 76 | 11 | 127 | 2015-03-20 16:14:05 |
| 77 | 11 | 128 | 2015-03-20 16:14:05 |
| 78 | 11 | 129 | 2015-03-20 16:14:05 |
| 79 | 11 | 130 | 2015-03-20 16:14:05 |
| 80 | 11 | 131 | 2015-03-20 16:14:05 |
| 81 | 11 | 132 | 2015-03-20 16:14:05 |
| 82 | 11 | 133 | 2015-03-20 16:14:05 |
| 83 | 11 | 134 | 2015-03-20 16:14:05 |
| 84 | 11 | 135 | 2015-03-20 16:14:05 |
| 85 | 11 | 136 | 2015-03-20 16:14:05 |
| 86 | 11 | 137 | 2015-03-20 16:14:05 |
| 87 | 11 | 138 | 2015-03-20 16:14:05 |
| 88 | 11 | 139 | 2015-03-20 16:14:05 |
| 89 | 11 | 140 | 2015-03-20 16:14:05 |
| 90 | 11 | 141 | 2015-03-20 16:14:05 |
| 91 | 11 | 142 | 2015-03-20 16:14:05 |
| 92 | 11 | 143 | 2015-03-20 16:14:05 |
| 93 | 11 | 144 | 2015-03-20 16:14:05 |
| 94 | 11 | 145 | 2015-03-20 16:14:05 |
| 95 | 11 | 146 | 2015-03-20 16:14:05 |
| 96 | 11 | 147 | 2015-03-20 16:14:05 |
| 97 | 11 | 148 | 2015-03-20 16:14:05 |
| 98 | 11 | 149 | 2015-03-20 16:14:05 |
| 99 | 11 | 150 | 2015-03-20 16:14:05 |
| 100 | 11 | 151 | 2015-03-20 16:14:05 |
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;