Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 401–425 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 401 | 96 | 3274 | 2016-12-24 10:38:09 |
| 402 | 96 | 3275 | 2016-12-24 10:38:09 |
| 403 | 96 | 3276 | 2016-12-24 10:38:09 |
| 404 | 96 | 3277 | 2016-12-24 10:38:09 |
| 405 | 96 | 3278 | 2016-12-24 10:38:09 |
| 406 | 96 | 3279 | 2016-12-24 10:38:09 |
| 407 | 96 | 3280 | 2016-12-24 10:38:09 |
| 408 | 96 | 3281 | 2016-12-24 10:38:09 |
| 409 | 96 | 3282 | 2016-12-24 10:38:09 |
| 410 | 96 | 3283 | 2016-12-24 10:38:09 |
| 411 | 96 | 3284 | 2016-12-24 10:38:09 |
| 412 | 96 | 3285 | 2016-12-24 10:38:09 |
| 413 | 96 | 3286 | 2016-12-24 10:38:09 |
| 414 | 96 | 3287 | 2016-12-24 10:38:09 |
| 415 | 97 | 3288 | 2016-12-24 10:38:09 |
| 416 | 97 | 3289 | 2016-12-24 10:38:09 |
| 417 | 97 | 3290 | 2016-12-24 10:38:09 |
| 418 | 97 | 3291 | 2016-12-24 10:38:09 |
| 419 | 97 | 3292 | 2016-12-24 10:38:09 |
| 420 | 97 | 3293 | 2016-12-24 10:38:09 |
| 421 | 97 | 3294 | 2016-12-24 10:38:09 |
| 422 | 97 | 3295 | 2016-12-24 10:38:09 |
| 423 | 97 | 3296 | 2016-12-24 10:38:09 |
| 424 | 97 | 3297 | 2016-12-24 10:38:09 |
| 425 | 97 | 3298 | 2016-12-24 10:38:09 |
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;