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