Basically it says that if you have an index let's say INDEX_1 on columns:

INDEX_1 : a, b, c, d

MySQL will act as if you had setup indexes on:

INDEX_1_1 : a, b, c
INDEX_1_2 : a, b
INDEX_1_1 : a

A query like:
SELECT a FROM table_name WHERE a > 9; - will use the index
SELECT a, b, c FROM table_name WHERE d > 9; - will use the index

Hope this clears up things !

--
Gabriel PREDA
Senior Web Developer

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to