結果 : sql create boolean column based on condition