Mysql Multiply

Mysql Multiply is used to define the product of any two or more numbers in a table.

Ads

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)

Advertisements

Ads
Share on Google+Share on Google+

Mysql Multiply

Posted on: January 16, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

 

Discuss: Mysql Multiply  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads