Ich versuche, die State
basierend auf Version
Spalte, aber nicht in der Lage, das gewünschte Ergebnis zu erhalten. Wenn der gleiche Name
Datensatz mit der neuesten Version
dann die State
sollte SIGNED
sein, sonst sollte es SUPERSEDED
sein.So finden Sie Neueste Datensätze und legen Sie den Wert in andere Spalte, wenn der gleiche Name mehrere Datensätze
Name Version State OwnerName Language Keywords
Mohan 1 SUPERSEDED x ENG ABCD
Mohan 2 SUPERSEDED y ENG EFGH
Mohan 3 SUPERSEDED z ENG IJKL
Mohan 4 SIGNED x ENG ABCD
Shayam 1 SUPERSEDED y ENG EFGH
Shayam 2 SIGNED z ENG IJKL
Ram 1 SUPERSEDED x ENG ABCD
Ram 2 SIGNED y ENG EFGH
Sourabh 1 SIGNED z ENG IJKL