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