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