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