Compare commits
2 Commits
5cfaf44a79
...
17119999c9
Author | SHA1 | Date | |
---|---|---|---|
17119999c9 | |||
b50471d339 |
@ -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}-%'
|
||||
WHERE arrival LIKE '{year}-%' AND name != 'Externes Boot'
|
||||
GROUP BY boat_id
|
||||
ORDER BY rowed_km DESC;
|
||||
")
|
||||
|
Loading…
Reference in New Issue
Block a user