The present invention relates to compounds having the general formula (Ia) or (Ib), optionally in the form of a pharmaceutically acceptable salt, solvate, polymorph, codrug, cocrystal, prodrug, tautomer, racemate, enantiomer, or diastereomer or mixture thereof,which are useful in treating, ameloriating or preventing a viral disease, in particular influenza.本發明係關於具有通式(Ia)或(Ib)之化合物,其視情況呈醫藥學上可接受之鹽、溶劑合物、多晶型物、共藥物、共晶體、前藥、互變異構體、外消旋體、對映異構體或非對映異構體或其混合物之形式,其適用於治療、改善或預防病毒性疾病,尤其流感。無