Mysql Multiply
Mysql Multiply is used to define the product of any two or more numbers in a table.
Understand with Example
The Tutorial illustrate an example from 'Mysql Multiply'. The example elaborate a query that help you to return the product of any two or more numbers in a specified table.
select(a*b) : The Query return you the product of two numbers a and b.
Query:
The given below query is used to return the product of '2' and '4' as column name Multiply.
mysql> select ( 2*4 )as Multiply; |
Output:-
+----------+ | Multiply | +----------+ | 8 | +----------+ 1 row in set (0.00 sec) |