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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -