05.01.2024 02:23:31 - Reference 'sum_all' not supported (reference to group function) - SELECT user_name, COUNT(*) as summe, SUM(points_position + points_distance - points_falsestart + points_fastestlap - points_pitstop + 0.000001) as sum_all, SUM(points_position) as sum_position, SUM(points_distance) as sum_distance, SUM(points_falsestart) as sum_falsestart, SUM(points_fastestlap) as sum_fastestlap, SUM(points_pitstop) as sum_pitstop FROM dr_runs WHERE hash_runs=\'a5c4de65da0c3b7c38f9a3017668f910\' AND hash_races=\'babfecfab4feb8cfc6a8796425f4e77a\' AND points_counted=\'1\' GROUP BY user_name ORDER BY (COUNT(*)/sum_all) ASC - https://hoeschel.com/?eventsold&id=9&r=a5c4de65da0c3b7c38f9a3017668f91011