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