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