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='28ebcf9b0664ff1293f8bd905569bb1f'' at line 1