It is an ionic compound.
Table salt = NaCl
Dissolved.
Na^+
Surrounded by molecules of water, oxygen end of water, as water is slightly polar and the oxygen end of the water molecule is slightly negative in charge.
Cl^-
Also surrounded by the polar water molecule, but the hydrogen end(s), as the hydrogen end(s) are slightly positive in charge.
Baking soda is amphoretic, acts like an acid and a base. Soluble, but not nearly as soluble as an ionic compound. Contains a polyatomic ion, CO3.