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