select * from shapes where table_period_id = ${table_period_id} and shape_id in (${shape_ids:csv})
