Created
July 1, 2013 21:32
-
-
Save selenamarie/5904825 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with exploitability_count AS ( | |
select count(*) from exploitability_reports | |
WHERE | |
report_date BETWEEN %(start_date)s AND %(end_date)s | |
) | |
SELECT | |
exploitability_count.count | |
signature, | |
report_date, | |
null_count, | |
none_count, | |
low_count, | |
medium_count, | |
high_count | |
FROM exploitability_reports | |
WHERE | |
report_date BETWEEN %(start_date)s AND %(end_date)s | |
ORDER BY | |
report_date DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment