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