I was reading through the docs and it says: The following SELECT statements will not use indexes:
mysql> SELECT * FROM tbl_name WHERE key_col LIKE "%Patrick%"; mysql> SELECT * FROM tbl_name WHERE key_col LIKE other_col; I am using MYSQL on windows. So is that true? When I use the below statement should I not index TitleName? SELECT A.TitleName, C.ActorName FROM Titles A, ActorTitle B, Actors C Where A.TitleID=B.TitleID AND B.ActorID=C.ActorID AND A.TitleName LIKE '%PartOfName%' ORDER BY A.TitleName ASC --------------------------------------------------------------------- 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