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