you can use like statment in queries.
example:
// get name from any place of the field
select *
from table
where field like '%name%'
// get name from the begning of the string in the field
select *
from table
where field like 'name%'
// get name from end of the string in the field
select *
from table
where field like '%name'