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