Jump to content

Adding up multiple columns


Kryptix

Recommended Posts

I need to add up multiple columns and then order it DESC the total amount. For example...

 

column1 + column2 + column3 + column4 + column5

 

I need to add up the total values (all are INTs) and then order the records by the highest amount down to the lowest.

 

How would I do that? :shrug:

Link to comment
https://forums.phpfreaks.com/topic/185533-adding-up-multiple-columns/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.