結果 : sql increment value based on another column