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