All,
Ive strings like below and i want to remove duplicates without changing the sort order (so listagg might not work for me even with random() order clause)
sample:
i. terry@gmail.com, owen@gmail.com,Scotto@yahoo.com,terry@gmail.com, Atieno@gmail.com,Scotto@yahoo.com
and correct output should be (remember dont change the order):
i. terry@gmail.com, owen@gmail.com,Scotto@yahoo.com, Atieno@gmail.com
oracle 11.x g,
thanks