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