Pattern matching using LIKE
- CASE SENSITIVE
% - any sequence of characters
_ - any single character
SELECT first_name
FROM customer
WHERE first_name LIKE 'Jo%'
matches any first_name starting with 'Jo' — you can also do NOT LIKE
or ILIKE (in PostgreSQL) - Insensitive LIKE
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.