ASK DOT NET
asp.net c# sql 2008
Search This Blog
Tuesday, August 7, 2012
In SQL, how to multiply data of two columns for third column
a b
2 4
2 5
2 6
Select a, b, (a*b) as c from table
a b c
2 4 8
2 5 10
2 6 12
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment