MySQL Forums
Forum List  »  Newbie

Re: column indexing strategy
Posted by: Felix Geerinckx
Date: May 13, 2005 01:29AM

Michael Corr wrote:

> For example:
> SELECT col1 FROM table WHERE col2=x;
>
> Is it more important/effective to INDEX (col1) or INDEX (col2) when I create the table?

Definitely col2.

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
May 12, 2005 07:42PM
Re: column indexing strategy
May 13, 2005 01:29AM


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.