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