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