Lattice energy is defined as the amount of energy required to separate one mole of solid ionic compound into its gaseous ions. Evidently greater the lattice energy, higher is the melting point of the alkali metals halide and lower is its solubility in water.
L.E.∝M.P.
L.E.:LiF>LiCl,MgO>NaCl