ilike postgres code example
Example 1: postgresql contains
SELECT id FROM TAG_TABLE WHERE 'aaaaaaaa' LIKE '%' || tag_name || '%';
Example 2: postgresql like
SELECT
first_name,
last_name
FROM
customer
WHERE
first_name LIKE 'Jen%';
SELECT id FROM TAG_TABLE WHERE 'aaaaaaaa' LIKE '%' || tag_name || '%';
SELECT
first_name,
last_name
FROM
customer
WHERE
first_name LIKE 'Jen%';