Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Sql Mysql-example Mysql Multiply

Related Tutorials


 
 

Share on Google+Share on Google+

Mysql Multiply

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

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

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: January 17, 2009

Related Tutorials

Discuss: Mysql Multiply  

Post your Comment


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