Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT "targets_target"."id", "targets_target"."user_id",
...
"targets_target"."created_at", "targets_target"."updated_at"
FROM "targets_target"
WHERE ("targets_target"."topic" = \'sports\' OR
UPPER("targets_target"."title"::text) LIKE UPPER(\'%sport%\'))
LIMIT 21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment