ROW_NUMBER() OVER (PARTITION BY {pricing.internalid} ORDER BY {internalid} ASC)