結果 : sql select new column based on condition