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='85da10fb0a4df5fdf7564ca97e74be4e'' at line 1