Categories
mysql

MySQL example of using the LIKE operator in queries

select name from channel where name LIKE ‘%CNET%’;

The % matches 0 or more characters, if you want to match only one character, you use _

Leave a Reply

Your email address will not be published. Required fields are marked *