Table
exhibition_booking
A ticket's place in a slot; a trigger stops overbooking.
Replaces in 2020: Exhibition Booking, Booking Ticket
Rows 1,976–2,000 of 2,015
| booking_idINTEGER | slot_id→ exhibition_slot.slot_id | ticket_id→ ticket.ticket_id | booked_atTEXT |
|---|---|---|---|
| 1976 | 441 | 9734 | 2020-01-25 14:38:50 |
| 1977 | 441 | 9735 | 2020-01-25 14:38:50 |
| 1978 | 423 | 9741 | 2020-01-27 23:30:11 |
| 1979 | 425 | 9751 | 2020-01-31 14:23:01 |
| 1980 | 424 | 9761 | 2020-02-02 08:08:02 |
| 1981 | 424 | 9762 | 2020-02-02 08:08:02 |
| 1982 | 426 | 9769 | 2020-02-04 22:38:16 |
| 1983 | 426 | 9770 | 2020-02-04 22:38:16 |
| 1984 | 426 | 9771 | 2020-02-04 22:38:16 |
| 1985 | 426 | 9772 | 2020-02-04 22:38:16 |
| 1986 | 432 | 9773 | 2020-02-05 13:23:38 |
| 1987 | 428 | 9777 | 2020-02-06 09:51:49 |
| 1988 | 428 | 9778 | 2020-02-06 09:51:49 |
| 1989 | 427 | 9781 | 2020-02-08 08:00:50 |
| 1990 | 430 | 9784 | 2020-02-08 15:36:01 |
| 1991 | 430 | 9785 | 2020-02-08 15:36:01 |
| 1992 | 429 | 9787 | 2020-02-09 08:39:28 |
| 1993 | 431 | 9790 | 2020-02-09 14:33:41 |
| 1994 | 431 | 9791 | 2020-02-09 14:33:41 |
| 1995 | 433 | 9792 | 2020-02-10 08:29:10 |
| 1996 | 433 | 9793 | 2020-02-10 08:29:10 |
| 1997 | 433 | 9794 | 2020-02-10 08:29:10 |
| 1998 | 435 | 9802 | 2020-02-13 16:48:23 |
| 1999 | 435 | 9803 | 2020-02-13 16:48:23 |
| 2000 | 437 | 9805 | 2020-02-15 14:36:36 |
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;