I have a table with a composite primary key - for example the primary key consists of column_1 and column_2.
If I am doing a select using only one of the columns, do I need a another index (in addition to the one for the primary key) to attain the maximum speed in a query such as the following:
"SELECT FROM table WHERE column_2 = "x" ;"
Will the index created for the primary key be sufficient to give me the best performance or can I increase the speed of the query by adding a separate index on column_2.
Thanks.
-gomer