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