I am using the Chinook Database as a way to test a concept using encryption. I found that I could use the LIKE
key word if I did:
SELECT pgp_sym_decrypt("Name", '22') FROM "Artist" WHERE pgp_sym_decrypt("Name", '22') LIKE '%a%';
I'm currently trying to avoid having to use the second pgp_sym_decrypt("Name", '22')
if at all possible thanks.