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='180ec461d0605bc6a6c936fa7a12f375'' at line 1