MySQL Forums
Forum List  »  Optimizer & Parser

Re: Query with GROUP BY (Using index for group-by -> Using index)
Posted by: KimSeong Loh
Date: December 07, 2006 12:19AM

SELECT group_concat(maxi) INTO var_list FROM (SELECT MAX(i) AS maxi FROM shn WHERE i <= i_ GROUP BY n) as new;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Query with GROUP BY (Using index for group-by -> Using index)
3111
December 07, 2006 12:19AM


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.