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