MySQL Forums
Forum List  »  Newbie

Re: Max Query Issue
Posted by: Felix Geerinckx
Date: May 20, 2005 02:19PM

JOHN FARRUGIA wrote:

> even if I use this query:
> SELECT MAX(value) FROM data_readings.lts4a_line the result is still no the max in the column

Is your value column a string type? If so, sorting will be alphabetically and incorrect.

> what does s1 and s2 represent

Table aliases.

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
May 20, 2005 11:19AM
May 20, 2005 11:28AM
May 20, 2005 12:17PM
May 20, 2005 01:32PM
May 20, 2005 01:58PM
Re: Max Query Issue
May 20, 2005 02:19PM
May 20, 2005 02:28PM
May 20, 2005 02:36PM


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.