https://www.php-resource.de/forum/sql-datenbanken/28410-sum-inner-join-proble