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