Skip to content
Advertisement

Optimizing JOIN and WHERE operation in SQL query

Below is an sample query. On a glimpse I’m trying to figure out how to optimize this query better, I’m trying to reduce the OR operator at the WHERE option at the bottom but I haven’t figure out how. Any advice or other optimization I can do to this query?

Advertisement

Answer

I think creating full text index will be better option for you. If you need further information regarding this please visit:

https://dev.mysql.com/doc/refman/8.0/en/fulltext-search.html

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement