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