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