Split into multiple rows condition unique