The basic character of MgO,SrO & NiO increases in the order
SrO<MgO<NiO
NiO<MgO<SrO
MgO<NiO<SrO
NiO<SrO<MgO
As we learnt
Periodic trend in valence of atom -

-
Basic character of oxides increases with increase in electropositive character