Zaprojektowałbym to tak:
Journeys:
- ID
- Other info (billing, whatever)
Segments:
- ID
- JourneyID (FK)
- departure, arrival, etc
I dodatkowy widok
Journeys_View
- Journeys.*
- First departure
- Last arrival
Zaprojektowałbym to tak:
Journeys:
- ID
- Other info (billing, whatever)
Segments:
- ID
- JourneyID (FK)
- departure, arrival, etc
I dodatkowy widok
Journeys_View
- Journeys.*
- First departure
- Last arrival