Is is poslbe too get the highest value from a row?
IE. I have 3 da开发者_如何转开发ys as columns with a timestamp value, can i get the highest value out?
GREATEST() might be what you want:
http://dev.mysql.com/doc/refman/5.1/en/comparison-operators.html#function_greatest
SELECT MAX(column1,column2,cloumn3) FROM ...
精彩评论