Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 526–550 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 526 | 120 | 3778 | 2017-04-17 12:59:43 |
| 527 | 114 | 3779 | 2017-04-18 07:08:35 |
| 528 | 114 | 3780 | 2017-04-18 07:08:35 |
| 529 | 114 | 3781 | 2017-04-18 07:08:35 |
| 530 | 114 | 3782 | 2017-04-18 07:08:35 |
| 531 | 116 | 3831 | 2017-04-22 14:02:40 |
| 532 | 116 | 3832 | 2017-04-22 14:02:40 |
| 533 | 118 | 3833 | 2017-04-22 17:43:59 |
| 534 | 118 | 3834 | 2017-04-22 17:43:59 |
| 535 | 119 | 3849 | 2017-04-24 18:25:41 |
| 536 | 121 | 3854 | 2017-04-28 17:25:02 |
| 537 | 131 | 3855 | 2017-04-28 22:24:41 |
| 538 | 124 | 3856 | 2017-04-28 22:40:48 |
| 539 | 124 | 3857 | 2017-04-28 22:40:48 |
| 540 | 124 | 3858 | 2017-04-28 22:40:48 |
| 541 | 124 | 3859 | 2017-04-28 22:40:48 |
| 542 | 124 | 3860 | 2017-04-28 22:40:48 |
| 543 | 130 | 3867 | 2017-04-30 12:38:04 |
| 544 | 130 | 3868 | 2017-04-30 12:38:04 |
| 545 | 130 | 3869 | 2017-04-30 12:38:04 |
| 546 | 123 | 3872 | 2017-04-30 20:50:23 |
| 547 | 122 | 3880 | 2017-05-03 19:29:18 |
| 548 | 122 | 3881 | 2017-05-03 19:29:18 |
| 549 | 122 | 3882 | 2017-05-03 19:29:18 |
| 550 | 122 | 3883 | 2017-05-03 19:29:18 |
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;