https://www.php-resource.de/forum/sql-datenbanken/77670-mysql-cast-problem