https://www.php-resource.de/forum/sql-datenbanken/81404-problem-mit-subqueries-in-mysql