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