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