結果 : sql update query with if else condition