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