Skip to content

Instantly share code, notes, and snippets.

@ctfaddict

ctfaddict/figure4 Secret

Created Apr 24, 2014
Embed
What would you like to do?
scorebot_production=# select count(*) from redemptions;
count
-------
18880
(1 row)
scorebot_production=# select count(*) from redemptions r
where r.id not in (select distinct redemption_id from captures);
count
-------
6089
(1 row)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment