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