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