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