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