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='6c46e0d1bd07f27644554d6737b3b5be'' at line 1