NTT DATA interview question

How do you compare current row value with previous row in informatica