MySQL Forums
Forum List  »  Newbie

Re: Group-wise Maximum performance
Posted by: Jon Richards
Date: May 04, 2005 12:31AM

Slightly confused. I can issue the select statement from the query browser, but if I issue it through JDBC I get the following error. I don't suppose you know why do you?

Cheers,
Jon.

SELECT SUBSTRING(MAX(CONCAT(LPAD(time, 20, '0'), data)), 21) FROM storm GROUP BY name
SQLException: Column 'data' not found.

Options: ReplyQuote




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.