On Tue, 23 Jan 2001, Gerald L. Clark wrote:
> > Why isn't it using index on the last query?
> > 
> Because there isn't an index that contains both fields.

So it can't use separate indexes?

I guess the obvious solution would be to create an index on both of
those fields, but I will also need to have an individual indexes on
those fields as well - is that a good way to do it?

-Andrei

As I was going up the stair, I met a man who wasn't there.
He wasn't there again today. I wish, I wish he'd stay away.
                                                        -Hughes Mearns


---------------------------------------------------------------------
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