Multiplies two expressions (an arithmetic multiplication operator).
expression * expression
Returns the data type of the argument with the higher precedence. For more information, see Data Type Precedence.
This example retrieves the title identification number and the price of modern cookbooks, and uses the * arithmetic operator to multiply the price by 1.15.
USE pubs
SELECT title_id, price * 1.15 AS NewPrice
FROM titles
WHERE type = 'mod_cook'
ORDER BY title_id ASC
Data Types | SELECT |
Expressions | WHERE |
Functions | Operators |