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