Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 426–450 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 426 | 97 | 3299 | 2016-12-24 10:38:09 |
| 427 | 97 | 3300 | 2016-12-24 10:38:09 |
| 428 | 97 | 3301 | 2016-12-24 10:38:09 |
| 429 | 84 | 3335 | 2016-12-31 12:30:22 |
| 430 | 94 | 3342 | 2017-01-05 12:27:04 |
| 431 | 94 | 3343 | 2017-01-05 12:27:04 |
| 432 | 94 | 3344 | 2017-01-05 12:27:04 |
| 433 | 94 | 3345 | 2017-01-05 12:27:04 |
| 434 | 94 | 3346 | 2017-01-05 12:27:04 |
| 435 | 94 | 3347 | 2017-01-05 12:27:04 |
| 436 | 94 | 3348 | 2017-01-05 12:27:04 |
| 437 | 94 | 3349 | 2017-01-05 12:27:04 |
| 438 | 94 | 3350 | 2017-01-05 12:27:04 |
| 439 | 94 | 3351 | 2017-01-05 12:27:04 |
| 440 | 94 | 3352 | 2017-01-05 12:27:04 |
| 441 | 94 | 3353 | 2017-01-05 12:27:04 |
| 442 | 94 | 3354 | 2017-01-05 12:27:04 |
| 443 | 94 | 3355 | 2017-01-05 12:27:04 |
| 444 | 94 | 3356 | 2017-01-05 12:27:04 |
| 445 | 94 | 3357 | 2017-01-05 12:27:04 |
| 446 | 94 | 3358 | 2017-01-05 12:27:04 |
| 447 | 94 | 3359 | 2017-01-05 12:27:04 |
| 448 | 94 | 3360 | 2017-01-05 12:27:04 |
| 449 | 94 | 3361 | 2017-01-05 12:27:04 |
| 450 | 94 | 3362 | 2017-01-05 12:27:04 |
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;