I came across a problem where one of my column is multivalued. eg: value can be (11,22) (11,33) (11,55) , (22,44) , (22,99)
I want to perform a grouping operation that will yield:
One indirect way to achieve this is to copy all the values corresponding to this field with space or some other character between them in a text field and then tokenize this field with that character(using whitespace tokenizer
in case of spaces). Then you can use group by and I believe that this should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With