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='8a1048ac0a70747c57831b72a8576d3a'' at line 1