結果 : sql function to replace null values with a value in a different column