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='9a3595a3393932a2b71b09a9df6e2677'' at line 1