Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 501–525 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 501 | 99 | 3616 | 2017-03-12 19:46:51 |
| 502 | 99 | 3617 | 2017-03-12 19:46:51 |
| 503 | 102 | 3624 | 2017-03-16 12:07:44 |
| 504 | 102 | 3625 | 2017-03-16 12:07:44 |
| 505 | 106 | 3689 | 2017-03-23 13:32:39 |
| 506 | 104 | 3691 | 2017-03-24 20:00:27 |
| 507 | 107 | 3693 | 2017-03-25 20:07:30 |
| 508 | 105 | 3694 | 2017-03-26 21:21:31 |
| 509 | 117 | 3714 | 2017-04-01 18:38:59 |
| 510 | 117 | 3715 | 2017-04-01 18:38:59 |
| 511 | 117 | 3716 | 2017-04-01 18:38:59 |
| 512 | 117 | 3717 | 2017-04-01 18:38:59 |
| 513 | 108 | 3733 | 2017-04-09 20:08:01 |
| 514 | 108 | 3734 | 2017-04-09 20:08:01 |
| 515 | 113 | 3737 | 2017-04-10 19:48:29 |
| 516 | 113 | 3738 | 2017-04-10 19:48:29 |
| 517 | 113 | 3739 | 2017-04-10 19:48:29 |
| 518 | 113 | 3740 | 2017-04-10 19:48:29 |
| 519 | 115 | 3747 | 2017-04-11 15:07:57 |
| 520 | 109 | 3757 | 2017-04-12 10:09:24 |
| 521 | 112 | 3759 | 2017-04-12 20:07:09 |
| 522 | 112 | 3760 | 2017-04-12 20:07:09 |
| 523 | 111 | 3761 | 2017-04-13 19:01:26 |
| 524 | 110 | 3766 | 2017-04-14 12:27:47 |
| 525 | 120 | 3777 | 2017-04-17 12:59:43 |
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;