Forum Moderators: open
I have one mysql Query:
select a.username,b.title,b.about_myself $sql_select from interests a INNER JOIN user_details b ON a.username=b.username where a.passion LIKE '%$passion%' or substring(soundex(a.passion),1,4)=substring(soundex('".$passion."'),1,4) and b.title <> '' and b.about_myself <> '' and b.block!='yes' order by b.user_index desc
I tried to optimize this .. but still this query is taking more than 6 seconds to execute..
Can anyone help me out here?
Thank you so much..
Regards
see if you can help me out to make it a bit FAST.. if the results are much then it is taking more than 25 seconds to execute the query.. which is much more.. and i know it will be considerred as a bad select statement..
Thank you for your reply..
regards