Remember the common amphoteric oxides in inorganic chemistry using the mnemonic:
"Al, Zn, Pb, Sn, Be, Sb, As" form amphoteric oxides ($\text{Al}_2\text{O}_3$, $\text{ZnO}$, $\text{PbO}$, $\text{SnO}$, $\text{BeO}$, etc.).
Most s-block metal oxides (like $\text{CaO}$, $\text{Na}_2\text{O}$) are purely basic.