Merge pull request 'remove external cox from stat' (#152) from remove-external-cox into staging
Reviewed-on: #152
This commit is contained in:
commit
4d79d232cf
@ -101,7 +101,7 @@ FROM (
|
|||||||
) u
|
) u
|
||||||
INNER JOIN rower r ON u.id = r.rower_id
|
INNER JOIN rower r ON u.id = r.rower_id
|
||||||
INNER JOIN logbook l ON r.logbook_id = l.id
|
INNER JOIN logbook l ON r.logbook_id = l.id
|
||||||
WHERE l.distance_in_km IS NOT NULL AND l.arrival LIKE '{year}-%'
|
WHERE l.distance_in_km IS NOT NULL AND l.arrival LIKE '{year}-%' AND u.name != 'Externe Steuerperson'
|
||||||
GROUP BY u.name
|
GROUP BY u.name
|
||||||
ORDER BY rowed_km DESC;
|
ORDER BY rowed_km DESC;
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user