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