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