結果 : sql create new row based on condition