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