https://www.php-resource.de/forum/sql-datenbanken/9686-select-mit-count-max-distinct