Added new stats and fixed test
This commit is contained in:
parent
12bd6b3ec9
commit
cb39b419d6
5 changed files with 97 additions and 116 deletions
|
@ -14,7 +14,8 @@ SELECT "value",
|
|||
"distance",
|
||||
"purchase_time",
|
||||
DATETIME(STRFTIME('%Y-%m-%d %H:00:00',"purchase_time")) AS "quantised_hours",
|
||||
DATETIME(STRFTIME('%Y-%m-%d 00:00:00',"purchase_time")) AS "quantised_days"
|
||||
DATETIME(STRFTIME('%Y-%m-%d 00:00:00',"purchase_time")) AS "quantised_days",
|
||||
DATETIME(STRFTIME('%Y-%m-%d 00:00:00',"purchase_time", 'weekday 1')) AS "quantised_weeks"
|
||||
FROM "transactions"
|
||||
/);
|
||||
|
||||
|
|
Reference in a new issue