mardi 26 avril 2016

How to write a sql query to find a word in a para?

select * from table where column like "%abc%"

shows results like "cabcd a", "xyabcd xyz", " xyz abc", "x abc","abc y". But i only want the output to be like "xyz abc", "x abc", "abc y".

Aucun commentaire:

Enregistrer un commentaire