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