Skip to content
Advertisement

Tag: sql

Rank Values by Partition in SQL

I am trying to create a new column that counts unique partitions of another column. ColA *NewCol ———— A 1 A 1 A 1 B 2 B 2 C 3 C 3 C 3 I have tried using …

Advertisement