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