Let sql tell us if the data is unique