Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 451–475 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 451 | 94 | 3363 | 2017-01-05 12:27:04 |
| 452 | 94 | 3364 | 2017-01-05 12:27:04 |
| 453 | 94 | 3365 | 2017-01-05 12:27:04 |
| 454 | 94 | 3366 | 2017-01-05 12:27:04 |
| 455 | 94 | 3367 | 2017-01-05 12:27:04 |
| 456 | 94 | 3368 | 2017-01-05 12:27:04 |
| 457 | 94 | 3369 | 2017-01-05 12:27:04 |
| 458 | 94 | 3370 | 2017-01-05 12:27:04 |
| 459 | 94 | 3371 | 2017-01-05 12:27:04 |
| 460 | 94 | 3372 | 2017-01-05 12:27:04 |
| 461 | 94 | 3373 | 2017-01-05 12:27:04 |
| 462 | 94 | 3374 | 2017-01-05 12:27:04 |
| 463 | 94 | 3375 | 2017-01-05 12:27:04 |
| 464 | 94 | 3376 | 2017-01-05 12:27:04 |
| 465 | 95 | 3377 | 2017-01-05 12:27:04 |
| 466 | 95 | 3378 | 2017-01-05 12:27:04 |
| 467 | 95 | 3379 | 2017-01-05 12:27:04 |
| 468 | 95 | 3380 | 2017-01-05 12:27:04 |
| 469 | 95 | 3381 | 2017-01-05 12:27:04 |
| 470 | 83 | 3382 | 2017-01-06 10:13:39 |
| 471 | 83 | 3383 | 2017-01-06 10:13:39 |
| 472 | 83 | 3384 | 2017-01-06 10:13:39 |
| 473 | 86 | 3535 | 2017-02-16 16:36:03 |
| 474 | 85 | 3547 | 2017-02-20 13:29:06 |
| 475 | 85 | 3548 | 2017-02-20 13:29:06 |
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;