Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 701–725 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 701 | 142 | 4736 | 2017-10-01 13:20:13 |
| 702 | 142 | 4737 | 2017-10-01 13:20:13 |
| 703 | 142 | 4738 | 2017-10-01 13:20:13 |
| 704 | 142 | 4739 | 2017-10-01 13:20:13 |
| 705 | 142 | 4740 | 2017-10-01 13:20:13 |
| 706 | 142 | 4741 | 2017-10-01 13:20:13 |
| 707 | 137 | 4749 | 2017-10-05 09:38:40 |
| 708 | 133 | 4758 | 2017-10-09 23:13:38 |
| 709 | 133 | 4759 | 2017-10-09 23:13:38 |
| 710 | 133 | 4760 | 2017-10-09 23:13:38 |
| 711 | 133 | 4761 | 2017-10-09 23:13:38 |
| 712 | 134 | 4774 | 2017-10-15 14:39:51 |
| 713 | 136 | 4790 | 2017-10-19 16:08:49 |
| 714 | 136 | 4791 | 2017-10-19 16:08:49 |
| 715 | 136 | 4792 | 2017-10-19 16:08:49 |
| 716 | 136 | 4793 | 2017-10-19 16:08:49 |
| 717 | 135 | 4794 | 2017-10-19 18:06:28 |
| 718 | 140 | 4807 | 2017-10-21 15:34:02 |
| 719 | 140 | 4808 | 2017-10-21 15:34:02 |
| 720 | 139 | 4817 | 2017-10-27 17:27:56 |
| 721 | 139 | 4818 | 2017-10-27 17:27:56 |
| 722 | 147 | 4857 | 2017-11-17 17:51:16 |
| 723 | 147 | 4858 | 2017-11-17 17:51:16 |
| 724 | 145 | 4859 | 2017-11-18 17:24:38 |
| 725 | 143 | 4866 | 2017-11-20 15:49:26 |
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;