Complex Query--- needs a solution

  • 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....................

  • Your requirement is bait confusing.

    Can you post table script, sample data and expected output?

    If in doubt, you can check out the article linked in my signature line.

    -- Gianluca Sartori

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply