credo che questa ti vada bene

select distinct mese,anno from mia_tabella