MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimizing a query
Posted by: KimSeong Loh
Date: November 28, 2006 06:28PM

Group by page already, no need count(distinct page)
In fact count(distinct page) will always give you 1.

You probably wants a count(*)

Options: ReplyQuote


Subject
Views
Written By
Posted
2906
November 28, 2006 10:37AM
Re: Optimizing a query
1928
November 28, 2006 06:28PM


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.