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