postgresql contains
snippet in sql

postgresql contains

user8185

SELECT id FROM TAG_TABLE WHERE 'aaaaaaaa' LIKE '%' || tag_name || '%';