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