You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND basketSession='0e94a1f9aa78fb5f4437ffbe70e428b5'' at line 1