Compare commits
No commits in common. "c199c3241eff0c156e6a52fccb7d78cca6fd3dad" and "f0755a44e303e5ac2f4b4139c9342aaf26de8964" have entirely different histories.
c199c3241e
...
f0755a44e3
@ -20,7 +20,7 @@ impl Stat {
|
||||
"
|
||||
SELECT (SELECT name FROM boat WHERE id=logbook.boat_id) as name, CAST(SUM(distance_in_km) AS INTEGER) AS rowed_km
|
||||
FROM logbook
|
||||
WHERE arrival LIKE '{year}-%' AND name != 'Externes Boot'
|
||||
WHERE arrival LIKE '{year}-%'
|
||||
GROUP BY boat_id
|
||||
ORDER BY rowed_km DESC;
|
||||
")
|
||||
|
Loading…
Reference in New Issue
Block a user