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