let assume one table is having 3 row
id | data
----------
1 | abc
2 | def
3 | ghi
let us assume one string x= abcghilnm
i want to select the row which contain any matching string which contains in string x
so as in above row with id 1 and 3 will be select because it contains abc and ghi which is present in string x
i’m new bie please suggest the sql query for the given situation
thanx..
1 Answer