Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    2

    Unanswered: To find the records where values x->y,y->z,z->x

    Hello All,

    Please help me in this...
    The details are as follows..

    There is a table abc
    it has so many columns.. But am concerned about two columns N_CKT and O_CKT.
    using this two columns .. we have to find which one is Latest Circuit.. and Which All are its Old Circuit
    it is Like
    N_CKT O_CKT
    X Y
    Y Z
    in above case X is the latest Circuit and Y & Z are it;s previous circuit
    Z --> Y --> X

    Please help me in this.

    Regards,
    Raj
    Last edited by snoothi; 04-24-09 at 13:38.

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool Hierachical query needed

    You need to read about hierarchical queries in the fine Oracle® Database SQL Reference manual.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Apr 2009
    Posts
    2

    Thumbs up

    Thanks very much ... Will look in to this...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •