sonny4fn Posted March 26, 2007 Share Posted March 26, 2007 I was wondering if anyone could help me with this I am trying to average 2 columns in mysql Thanks Quote Link to comment Share on other sites More sharing options...
bwcc Posted March 27, 2007 Share Posted March 27, 2007 This should do what you're looking for SELECT ((AVG(`COL1`) + AVG(`COL2`)) / 2) FROM `TABLE` Quote Link to comment Share on other sites More sharing options...
sonny4fn Posted March 28, 2007 Author Share Posted March 28, 2007 it did thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.