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