select * from trips where table_period_id = ${table_period_id} and trip_id in (${trip_ids:csv})
