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