http://www.perlmonks.org?node_id=420979


in reply to Performing queries with DBI and DBD::MySQL

You can find a very good documentation here http://dev.mysql.com/doc/mysql/en/index.html.
You can find a complete manual about Mysql and general sql there.
And about retrieving information with DBI you can look http://dbi.perl.org.
You will find a very good article on there.
I hope these links can help you; once that there is already another answers talking about the keyword LIKE in SQL.
---> Sorry I was not very helpful in my answer.
Sometimes we just need to type a line that works and not beeing sending tons links.
(as Mutant did - you have my vote.
Sorry. and thanks for the comprehension