MySQL - biggest value from two fields

Posted by Qiao on Stack Overflow See other posts from Stack Overflow or by Qiao
Published on 2010-04-11T01:25:59Z Indexed on 2010/04/11 1:33 UTC
Read the original article Hit count: 384

Filed under:

I need to get the biggest value from two fields:

SELECT MAX(field1), MAX(field2)

Now, how can I get biggest value from these two?

© Stack Overflow or respective owner

Related posts about mysql