Sodium nitrate decomposes above 800°C and does not give:
N2
O2
NO2
Na2O
NaNO3 decomposes on heating above 8000 C to give O2
2NaNO3→Na2O+2NO2+12O2