結果 : sql query create new column based on condition