Compare commits
2 Commits
d3bc2bea4f
...
a2005c55aa
Author | SHA1 | Date | |
---|---|---|---|
a2005c55aa | |||
da446c5073 |
@ -30,7 +30,7 @@ impl BoatStat {
|
||||
SELECT
|
||||
boat.id,
|
||||
location.name AS location,
|
||||
CAST(strftime('%Y', arrival) AS INTEGER) AS year,
|
||||
CAST(strftime('%Y', COALESCE(arrival, 'now')) AS INTEGER) AS year,
|
||||
CAST(SUM(COALESCE(distance_in_km, 0)) AS INTEGER) AS rowed_km
|
||||
FROM
|
||||
boat
|
||||
|
Loading…
Reference in New Issue
Block a user