Navrhl bych to takto:
Journeys:
- ID
- Other info (billing, whatever)
Segments:
- ID
- JourneyID (FK)
- departure, arrival, etc
A další pohled
Journeys_View
- Journeys.*
- First departure
- Last arrival
Navrhl bych to takto:
Journeys:
- ID
- Other info (billing, whatever)
Segments:
- ID
- JourneyID (FK)
- departure, arrival, etc
A další pohled
Journeys_View
- Journeys.*
- First departure
- Last arrival