I need help any genius?

Hi
The question is not really java question but it is related to sql.I hope some one answers.
I have a table containing two columns
Parent Child
59000 59100
59000 59200
59100 59101
59100 59102
59200 59201
59200 59202
Now in a single query i want to find children of a parent.
For parent 59000 children would be 59100,59200,59101,59102,59201,59202
and
for parent 59100 children would be 59101,59102
The query should take a number and simply display its children.
The query or some logic would be highly appreciated.
Thanks in advance

Thanks rajib_cal
I am using sql server .I just want to know that either
START WITH and CONNECT BY PRIOR are keywords in oracle or just you are trying to tell the logic

Similar Messages

  • SQL Loader - need help - any thought!

    I have a datafile with info like this,
    tag1,f01,f02
    tag2,.....
    tag3,......
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag1,f01,f02
    tag2,.....
    tag3,......
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag4,info1,info2,....
    tag5
    My requirement is like this,
    I have to load into a table with folloing info
    f02,info1,info2
    tokenize the tag1 record, get the f02 value use that along with tag4 fields to populate the table. This f02 field will get new value after reading the second tag2 occurance.
    Any thought on this is greatly appreciated!

    If you look at the Flash help documentation for the addListener metod of the MovieClipLoader class, there is an erxample there that you should hopefully be able to work from.  It will be better if you get your stuff coded into AS2 before you pursue more help with it.  IT is difficult to tell you how to fix something if you don't show what you are using.

  • Wifi / WPA Security Issue- Need Help- Any solutions??

    I've searched everywhere for a solution to this problem- it seems widespread, many people have had the same, but has anyone solved it? Desperately looking for a solution!!
    Problem: I'm on OSX 10.4.11. Connecting to my wifi router via Airport from my Mac Pro. When any type of security is enabled at the router (WPA, WPA2, WEP, etc.), my internet connection gets dropped after a few minutes. This happens for other Apple devices on the network, like my iBook (also on OSX 10.4.11). Even my iPhone. Only short term solution is turning Airport off and on again. But the problem recurs after a few minutes.
    With security turned off at the router, all is well. (But then I'm on an unsecured network.)
    At first I thought it was the router, but the problem persisted with a new router.
    Any help appreciated... this is very annoying yet I haven't found any solution anywhere...

    Neither. The first was a D-Link and the current is a Tenda.

  • Problem with Syncing 48000 hz Camera audio with 44100 hz lapel audio? Need help any suggestions?

    I recently did a project and recorded my video with 48000 hz and then on accidentally recorded my lapel mic audio with 44100 hz. I now need to sync the two together but seems impossible? What should I do?
    I have tried to convert the audio in audacity to 48000 but this has not helped why is the audio out of sync and how do I fix this?

    I've been following sound gear threads on a couple other forums recently, and something that's come up quite a bit is the varying speeds of sound recorders. Some are VERY accurate, many are semi-accurate, and some just plain suck. It tends to be a you-get-what-you-paid-for situation but some cheap v-r's record dead on the same as the camera's vid footage and a few pricier ones drift enough over say a 5 minute interview that they need to consistently have their output time-adjusted. One I was reading involved a $300+ sound recorder, that simply needed to have a multiplier of 1.075 or something like that applied to everything out of it. The commenter takes all files from it, drops them in Audition, applies his standard time mod, and then exports that out and into PrPro. Then it syncs perfectly.
    As long as a recorder does the exact same pace all the time, one can adjust. It's when a recorder varies the speed slightly moment by moment that makes it really unusable ... constantly but barely sliding in and out of sync. Yuck.
    Neil

  • Hello I need help any  person in Spanish

    Hhhhg

    This is an international forum with many who speak Spanish.
    Post your question with as much detail as possible in Spanish and
    someone will answer.

  • I need help...any pro there?

    I need help, any pro there?

    There are lots of people who can help. What is the problem you need help with?

  • Connect to mysql DB (An unidentified error has occurred.) plz need help...

    I have been unable to create a database connection in dreamweaver to my MySql
    server.  Each time I receive the message "an unidentified error has occurred".
    I can use pure php code to create a connection successfully:
    <?php
    $username = "root";
    $password = "password";
    $hostname = "localhost";
    $dbh = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to mysql");
    print "connected to mysql<br>";
    $selected = mysql_select_db("test",$dbh)
    or die("Could not select first_test");
    if (mysql_query("insert into test_table values('5')")) {
    print "successfully inserted record";
    else {
    print "Failed to insert record";
    mysql_close($dbh);
    ?>
    This works, I can successfully insert a record.  However, if I try and create
    a connection in Dreamweaver with these same variables, I receive the message
    "an unidentified error has occurred".  I have tried, deleting the _mm
    connection scripts folder and recreating them.  I have used the mx2004 updater,
    I have tried all document types...  nothing seems to work...
    i am using local server (phptraid)
    PHPTriad 2.2 contains the following changes:
    Updated packages for Apache(1.3.23), MySQL(3.23.48) and PHP(4.1.1).
    also using remote host at (www.0fees.net)
    last thing i would to say in my computer i success only one time to make connection in window 7 - dreamweaver cs4
    and i create this site mwlobby.0fees.net
    but now i downloaded dreamweaver cs5 and i need to install new windows
    so i need help
    any suggestions?

    Turn your iPhone to a DFU mode and restore it

  • Need help in TCP/IP expert

    as the attachment , the blinkblink.vi is the main function i want to do .
    how do i connect using the TCP/IP ?using the testserver.vi and the testclient.vi
    need help. any expert here?
    Attachments:
    blink blink.vi ‏10 KB
    testserver.vi ‏11 KB
    testclient.vi ‏11 KB

    LOL! wrote:
    as the attachment , the blinkblink.vi is the main function i want to do .
    define "do"!
    Do you want to send the new LED state whenever the two booleans change? What is the server supposed to do with the data?
    (Your blinker code makes little sense, for example [i] is always less than 3 so at least one operation is meaningless. Also, the VI consumes all CPU resources when the switch is off. It is often easier if you make a clean diagram layout, not with wires going in all directions or often nowhere. Have you done any tutorials or classes?)
    LabVIEW Champion . Do more with less code and in less time .

  • 32GB itouch is zooming in at random times, need help!

    I just got an itouch for my birthday four days ago and was browsing and playing an application while the itouch was charging and randomly, it zoomed into the screen. I thought it was no big deal and when I tried to get it not to zoom, it wouldn't let up. I looked at the troubleshooting and nothing seems to be helping, the only time when it isn't zoomed is when I click on an app. and just for one second it zooms out then it goes right back in. this is getting really frustrating and I need help, any suggestions?

    Double-tap the screen with 3 fingers to toggle zoom off and on.
    To disable the screen zoom, go to Settings->Accessibility->Zoom and switch it off.

  • I get error 0x80073cf9 now and I need help to FIX Windows Store can't update any Apps & can't install any Apps now?

    Hi I hope some one can tell me step by step how to fix windows 8.1, I can't update any of my Apps and can't install any new apps now and I get error code 0x80073cf9?  But my problem is different than most of the other FIXES I read about, because nothing
    fixes my problem to be able to install new Apps and get app updates and stop getting that error code?
    I keep getting same error code 0x80073cf9 after I try any of the FIXES I have read about and tried all  the fixes on  my Lenovo Z580 laptop, that came with windows 8 and updated to 8.1.  And ever since I bought this laptop I could
    always install and update all my apps for the last year when I had Win 8 and Win 8.1 now.   This has been going on since April and May and its driving me crazy!    And from the May updates I did get all the updates and
    I also installed the KB update  that said I need this KB to get all updates in the future.  
    But all the other people when they get this error code they could not even open and use any of their Apps already installed.  And they also get the error code when they try to update or get a new apps.   
    But I can click on any APP installed already and use all my Apps with no problems.     I have read so many how to fix this error code but nothing works! :-(      I have tried a lot of 
    the fixes on Microsoft forums that says do this and the fix will get rid of the error code but I keep getting the same error code after I try that  fixes.    And I have read a lot of other windows 8 an windows 8.1  web sites when
    I search for how to fix this error code?   And tried all of the fixes that were different from the Microsoft forum fixes. But after I try those fixes I still can't install any apps or can't get my app updates? 
    Please to any person's who can help me by giving me  more that 1 fix, because I have tried so many fixes, If you know more that 1 fix tell me how to do your fix step by step so I can understand what you say to do to fix my windows store? 
    Thanks for any and all help?  And if I don't get any help in this section of the forum I will try to put this in a different area, if I don't get any help at this section of the forum I will try to ask this in another part of he forum ok?   
    I really need HELP with this so I can get my laptop working again to install new apps and get the updates to my apps? 

    Fixed the problem by going to settings/store and logging out with apple ID.  Then logged back in with password and updates, apps, and iTunes store seem to work ok now.

  • I Just updated my iPhone 4 tp 7.1 oS. I am unable to connet to any network. I keep getting the "searching" Np Service" messages on the top let corner of the screen. I also get a notice that say " "unable to load network list. I need help...

    I Just updated my iPhone 4 to 7.1 oS. I am unable to connet to any network. I keep getting the "searching" No Service" messages on the top let corner of the screen. I also get a notice that says " "Unable to load network list. I need help... How can one resolve this issue?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • HT4859 I need help! I know longer have access to the email that I opened my icloud account with and I can't remember my password. I have tried asking Apple for help and no one has been able to! Any advice

    I need help! I no longer have access to the email that I opened my icloud account with many years ago and I can't remember my password anyway! However it continues to backup all my stuff. But I have no access to go in and delete items or manage my account. The pop-ups now tell me that my account is full and it will no longer be able to backup items. I would like to go in and delete items that I do not need to make room, but I can't! I have personally gone into the Apple genius store and presented the problem as well as called Apple support and talked with a live person. And no one has been able to help me. I cannot believe that I have basically lost my iCloud accessibility? I have a lot of money vested in music and priceless pictures! Please can someone help me?

    I don't know what you mean by "closed" - icloud accounts stay in existence even if you disconnect all devices from the account.  You can't delete them.
    If you don't recall the ID or the password, and if the link above doesn't provide another way to get to the account, then you are out of luck.

  • I am trying to change my apple id Country. but it says " you have a store credit balance, you must spend your balance before you can change it." i don't wanna use it to change my country. by the way i can't update any of iPhone apps. need help

    I am trying to change my apple id Country. but it says " you have a store credit balance, you must spend your balance before you can change it." i don't wanna spend it to change my country. by the way i can't update any of iPhone apps. need help

    It's strange because I can change my AppleID country without this message.
    So what to do? Just try to do this again, but on another device. You may also erase cookies and history of your browser.
    I hope it will be helpful, good luck!

  • So the left side of my iPhone isn't working at all and I even tried turning it off for 5 minutes about 10 million times but nothing is working. Any suggestions on what to do I need help like ASAP!?

    So the left side of my iPhone isn't working at all and I even tried turning it off for 5 minutes about 10 million times but nothing is working. Any suggestions on what to do I need help like ASAP!?

    Have you performed a reset? Tap and hold the Home button and the On/Off button for approximately 10-15 seconds, until the Apple logo appears. Release both buttons and await restart.

  • New to lightroom, used program last wk no problem, now unable to import any nef or jpegs, keeps showing error message, need help =(

    new to lightroom, used program last wk no problem, now unable to import any nef or jpegs, keeps showing error message, need help =(

    So where is LR trying to copy the files?  Check your destination in the Import panel at the right.

Maybe you are looking for