I have a column named 'titles' with the values:
1) Harry Potter
2) Harry
3) Harry Po
4) Mario Potter
5) Hanry Plotter
If i make a search like:
SELECT * FROM books WHERE titles LIKE 'Harry Potter%'
i get only the first row with 'Harry Potter' which is ok. But how can i get the 2nd and the 3rd row also as a result because they match the search string 'Harry Potter' (Harry Potter contains Harry, Harry Potter contains Harry Po). BUT not "Harry Potter" Not contains "Mario Potter"
I am looking for a function like: if search_string contains ROW
Thanks