Compare commits

..

No commits in common. "17119999c9230ad89f017a131fd720f8fe3584e8" and "5cfaf44a7967bdc1cb93789eea61c73b2d2d473b" have entirely different histories.

View File

@ -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 SELECT (SELECT name FROM boat WHERE id=logbook.boat_id) as name, CAST(SUM(distance_in_km) AS INTEGER) AS rowed_km
FROM logbook FROM logbook
WHERE arrival LIKE '{year}-%' AND name != 'Externes Boot' WHERE arrival LIKE '{year}-%'
GROUP BY boat_id GROUP BY boat_id
ORDER BY rowed_km DESC; ORDER BY rowed_km DESC;
") ")