https://www.php-resource.de/forum/sql-datenbanken/77070-wenn-dann-abfrage