PHP MYSQL: How to add values from different columns -
this question has answer here:
- php/mysql add rows total 2 answers
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
Post a Comment