Hello Everybody,
I got a situation that i need to get details,process 3 times based on conditions and i need to get consolidated output.
My scenario almost looks like this :
input
v
1
v
2 3
v
4 5
v
6 7
i need 2,4,6,7 as output
what logic can i follow for this and can i use cte,case,..etc.,
Can anyone try to solve this
Thanks in advance....................