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