Hello. Here I can not understand a little search. I am writing a query using LIKE.
If you write this:
select * from 'table' where 'pole1' like 'searchstr'
will not issue anything
If you write this:
select * from 'table' where 'pole1' like '% searchstr%'
gives all the records in the table.
What to do? how to fix the query?