Compare the data rows by rows