Module group_num

Module group_num 

Source

Structsยง

GroupNumFunction
GROUP_NUM function - assigns a unique number (starting from 0) to each distinct value Maintains consistency across the entire query execution
GroupNumWithContext
Extended version that can track column context