Jeremy Zawodny wrote:
> 
> SQL_BUFFER_RESULT (http://www.mysql.com/doc/S/E/SELECT.html) my help,
> depending on what the real bottleneck is.

Hmmmm... I thought temporary tables were bad?

> Sure, change your
> 
>   SELECT * FROM foo WHERE ...
> 
> to
> 
>   SELECT COUNT(*) FROM foo WHERE ...
> 
> to get the cound of matching rows.

This doesn't seem to work :-S Maybe it's 'cos of the GROUP BY clause on the end
of my select...

How can I get this to work with a GROUP BY?

cheers,

Chris

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to