don't show scheckbuch-people in stat

This commit is contained in:
philipp 2023-10-24 09:07:20 +02:00
parent 6d4ebda4bc
commit c015a672ea

View File

@ -27,6 +27,7 @@ INNER JOIN (
FROM logbook l FROM logbook l
WHERE l.distance_in_km IS NOT NULL WHERE l.distance_in_km IS NOT NULL
) sub ON u.id = sub.user_id ) sub ON u.id = sub.user_id
WHERE u.is_guest = false
GROUP BY u.name GROUP BY u.name
ORDER BY rowed_km DESC; ORDER BY rowed_km DESC;
", ",