MySQL Forums
Forum List  »  Optimizer & Parser

How make indexes work with group by statement
Posted by: Adnan Raza
Date: September 13, 2012 12:48AM


Whenever I use group by statement with the fields that have an index on them, the index does not work especially when group by has more than one columns.


explain select * from temp_table
group by dt1,dt2;

is there any solution for it?

Options: ReplyQuote

Written By
How make indexes work with group by statement
September 13, 2012 12:48AM

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.