Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. SELECT * from products MATCH(product_name) AGAINST ("coffee table") AS relevance
  2. WHERE MATCH(product_name) AGAINST ("coffee table").
  3.  
  4. SELECT * from products MATCH(product_name) AGAINST ("coffee table") AS relevance
  5. WHERE ((product_name like "%coffee%" AND product_name like "%table%") or product_name like "%coffee table%")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement