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