In a simple sense, salt has more solubility than sand. With this statement, we can conclude that salt easily dissolves with water than sand does.
Water can dissolve salt easily because the positive part of water molecules attracts the negative chloride ions, and the negative part of water molecules attracts the positive sodium ions. The amount of a substance that can dissolve in a liquid (at a particular temperature) is called the solubility of the substance.