MySQL Forums
Forum List  »  Newbie

Re: Adding values returned by GREATEST
Posted by: Peter Brawley
Date: May 03, 2016 09:56AM

MySQL interprets the + operator as a request for a numeric value.

If you want to take the numeric values of the enums, you need greatest(a+0,b+0,c+0);

Options: ReplyQuote


Subject
Written By
Posted
Re: Adding values returned by GREATEST
May 03, 2016 09:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.