The LIKE operator is used to match text values against a pattern using wildcards. It uses two wildcards % and _ with string for matching with input.
Syntax:
SELECT FROM table_name WHERE column LIKE 'XXXX%' SELECT FROM table_name WHERE column LIKE 'XXXX_'
SELECT FROM table_name
WHERE column LIKE 'XXXX%'
WHERE column LIKE 'XXXX_'