For example you run this query
mysql> select * from mytable where mycolumn like '%mytext%';
Above query will return you all the rows where mycolumn is containing mytext i.e. It will return a row which contains
abcmytextabc,
abcmytext
mytextabc
So in short % works as wildcard character in the same way how * works in linux.