SELECT COALESCE(price, 0) * 1.05 FROM product;. This will return each product's price times 1.05 (if there's a price value) or a zero if the price is NULL .
確定! 回上一頁