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