View Single Post
Old 11-28-2012, 06:03 AM   PM User | #8
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,579
Thanks: 62
Thanked 4,064 Times in 4,033 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Quote:
Originally Posted by durangod View Post
lets see if i remember) order is division, multiplication, addition, subtraction
Actually, multiplication and division have the same precedence. And addition and subtraction have the same precedence.

And why Google when MySQL spells it out carefully for you:
http://dev.mysql.com/doc/refman/5.5/...recedence.html
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote