For sodium nitrate
NaNO3=Na+ and NO3-
H20=H+ and OH-
At anode=4OH-=2H2O + O2 + 4e-
at cathode = 4H+ + 4e- = 2H2
NaNO3=Na+ and NO3-
H20=H+ and OH-
At anode=4OH-=2H2O + O2 + 4e-
at cathode = 4H+ + 4e- = 2H2