Four white solids, W, X, Y and Z, are tested. The table shows the results.
| Solid | Melting point (∘C) | Conducts when solid | Conducts when molten | Conducts when dissolved in water |
|---|---|---|---|---|
| W | 770 | no | yes | yes |
| X | 1085 | yes | yes | does not dissolve |
| Y | 1710 | no | no | does not dissolve |
| Z | 59 | no | no | no |
Which solid is an ionic compound?