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