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='84857d10797bcf991b51ede315121ce0'' at line 1