요청 내용
“Create a smart bus ticketing ERD with Passenger, Ticket, Route, Bus, and Schedule tables, the shown keys and attributes, passengers buying tickets, tickets reserving schedules, and schedules linked to routes and buses.”
그렇다면Add fare payments.Add seat assignments.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Tickets reference schedules instead of separate route/bus to simplify booking
02
Passenger-to-tickets is one-to-many to allow many purchases
03
Schedules link routes and buses with departure times
When designing a relational database for any public transit ticketing or reservation system.