Created
September 4, 2019 18:58
-
-
Save kleong/f93697c840f9820943052e198823e215 to your computer and use it in GitHub Desktop.
This file contains 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
rockset> select count(*) as cancelled_requests | |
from "oakland-call-center" | |
where STATUS = 'CANCEL' | |
and SOURCE = 'SeeClickFix' | |
and PARSE_DATETIME_ISO8601(DATETIMEINIT) > CURRENT_DATETIME() - DAYS(3); | |
+----------------------+ | |
| cancelled_requests | | |
|----------------------| | |
| 44 | | |
+----------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment