sql multiply database data code example Example: how to multiply in sql SELECT name, price*quantity AS total_price FROM purchase;