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