Match string 

If a match string is specified, this position in the search pattern can be replaced by any number of characters.

Syntax

<match_string> ::= % | * | X'1F'

Explanation

A ( LIKE predicate) is used to search for character strings that have a certain pattern. Match strings can be used to specify the pattern ( pattern_element).

Model table: customer

Finding all customers whose names have any lengths and begin with 'M':

SELECT name, city FROM customer
WHERE name LIKE 'M%'

NAME

CITY

Porter

Los Angeles

Peters

Los Angeles

Porter

New York

Jackson

Los Angeles