@name('vehicleUsageIntervals')
select
    sessionId,
    driverKey,
    intervalId,
    startedAt,
    endedAt,
    durationSeconds,
    odometerBeginKm,
    odometerEndKm,
    registrationKey,
    vehicleKey,
    sourceKind,
    sourceIntervalIds
from TachographVehicleUsageIntervalInputEvent
