https://www.php-resource.de/forum/sql-datenbanken/55028-mysql-4-0-subquery-alternative