Created
March 8, 2018 12:30
-
-
Save nicolascb/84e565284bbdee49c0c4d6e0bb77d6a1 to your computer and use it in GitHub Desktop.
SQLITE: Contar linhar agrupando por dia formatando unixtimestamp.
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
select strftime("%Y-%m-%d",datetime(createdate,'unixepoch')),count(*) as total from calls where pendente=1 group by strftime("%Y-%m-%d",datetime(createdate,'unixepoch')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment