On Sun, Jun 03, 2001 at 12:37:50PM -0700, Ben Escoto wrote:
>
> JDZ> Did you try (sid > 15 and sid < 17), or something that means
> JDZ> the same thing as (sid = 16) if sid is an int?
>
> JDZ> Don't know if it'll help, but you never know...
>
> Yep, I thought that was worth a try and attempted various
> combinations. It seemed that any comparison on the sid column
> caused the use of filesort.
What about if you use BETWEEN()?
I meant to suggest that earlier, too, but I, uh... forgot.
Jeremy
--
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 439-9951
MySQL 3.23.29: up 9 days, processed 53,727,748 queries (68/sec. avg)
---------------------------------------------------------------------
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