PHP MYSQL: How to add values from different columns -


this question has answer here:

i want multiply values on 2 columns... 1 column named "point" , other "unit". want multiply values on both column , sum total of multiplied values. how go this?

i hope lookin this..  select sum(total) (   select col1 * col2 total your_table tbl1 ) tbl2 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -