insert into squares_by_transit_route
  (table_period_id, route_id, square_id, distance)
values
  (${table_period_id}, ${route_id}, ${square_id}, ${distance})
returning *
