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='76a27303609a1e8b60037c6e80667ded'' at line 1