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