Skip to content

Instantly share code, notes, and snippets.

@jamii

jamii/.sql Secret

Created July 26, 2022 00:01
Embed
What would you like to do?
create view tagged as
select *,
(
select rule.tag
from rule
where contains(tx.description, rule.keyword)
limit 1
) as tag
from tx;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment