https://www.php-resource.de/forum/sql-datenbanken/31404-komplizierte-db-abfrage