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