Solubility of a salt depends on lattice enthalpy and hydration enthalpy. Least soluble salt in water among the following is
MgHCO32
CaCl2
MgSO4
CaCO3
HCO3,− Cl−, SO4−2 of Ca+2 and Mg+2 are soluble in water and are responsible for hardness of water;CaCO3 is insoluble in water.