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