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