When sugar dissolves in water, it stays sugar. When salt dissolves in water, it becomes separate Na+ and Cl- ions.
This is something I wonder about. How separate are the salt ions when salt dissolves in water? If you add a chunk of sodium to water it will explode; that doesn't happen when you add salt.