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