MySQL Forums
Forum List  »  PHP

Re: Complex search - multiple fields and tables - need advice.
Posted by: Luke Pittman
Date: April 19, 2012 12:43PM

Thanks again.

Yeah - I don't love the LIKE '%something%' as I know it is very db intensive. I've used fulltext indexes in the past, but I was under the impression that they generally are more efficient for large "text" types and that LIKE would be more efficient for these short blips of data. No?

Perhaps you can clarify for me why my use of GROUP BY is improper here? From what I've read I've used it properly - so if I misunderstood something it would be good to know.

The one table you mentioned as redundant does actually get used in some cases - but I will look at how to only include it when I need it.

Luke

Options: ReplyQuote




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.