結果 : sql create a column based on condition