using you connect in front and the order of

Hi friends
I have a simple table, which is like the tree and its columns id, parentid and its name

I create the shape of the tree the data in the table simply to connect before. but I want to do the sorting with order of according to name

for example
Table
id     pid     name
1       -         abc
2       1         bbb
3       1          ab
......
my query result must be
ABC
AB
BBB

How can we use sort
Thank you

need to order the brothers and sisters in desc... ??

an example

SELECT last_name, employee_id, manager_id, LEVEL
FROM employees
START WITH employee_id = 100
CONNECT BY PRIOR employee_id = manager_id
ORDER SIBLINGS BY last_name; 

Ravi Kumar

Published by: ravikumar.sv on October 22, 2009 12:40

Tags: Database

Similar Questions

  • I have a site published under a recent URL, I used for a personal site and the site displayed the URl needs to be removed, but I can't take it down because I do not know the account info that it is under please help! Thank you!

    I have a site published under a recent URL, I used for a personal site and the site displayed the URl needs to be removed, but I can't take it down because I do not know the account info that it is under please help! Thank you!

    If it is hosted with Adobe Business Catalyst Adobe Support can help you.

    If it is hosted elsewhere the only people who can help you with that is where it is hosted.

  • create bookmarks for the front and the back of the cover

    Go easy on me please I tried for two hours to do this simple thing! (At least, I assume it's simple).

    I try to add bookmarks to the front and the back of the cover of documents. The coverage is obviously the first page (always!) but the rear hull could be any page number, according to the document. Curiously, I did a before work for the calculation of the last page and this isn't my problem.

    In any case, of hackering autour with stuff in the javascript reference and some tutorial, I so far have this:

    var plan = this.bookmarkRoot;

    myRoot.createChild ({cName: "Front Cover", nIndex: 0});

    myRoot.createChild ({cName: "Back Cover", nIndex: 99});

    Thus, this creates two bookmarks where I need them, 'Coverage' at the beginning and the 'cover' at the end of the bookmarks already in the doc. Obviously this works only because the number of 'already' bookmarks will never exceed 99, but it seems to work ok!

    In any case, my problem is that I can't work a way to set the destination - for the life of me I'm sorry I read the docs, but my experience is limited I think it's almost impenetrable. I think that this should be simple, because the cover should always point to page 0 (in a zero index) and I'm not only bothered about 'back' because I can reuse the code because I have to work on the number of the last page. So if someone could help me by telling me how to set the 'cover' down on the first page (0) when you click on - I can go to bed at a decent hour!

    When you create a bookmark using a script you can define its action to a script, you can use something like that to the front page:

    myRoot.createChild ({cName: "Front Cover", nIndex: 0, cExpr: "this.pageNum = 0 ;"});})

    Moreover, instead of using '99', use this code to always create the bookmark back cover as the last of the list:

    myRoot.createChild ({cName: "Back Cover", nIndex: myRoot.children.length});

  • My iTunes does not detect my iPad.  I use Windows 10, Norton 360 and the latest version of iTunes.  All software are up to date, and each says it works correctly.

    My iTunes does not detect my iPad.  I use Windows 10, Norton 360 and the latest version of iTunes.  All software are up to date, and each says it works correctly.

    Turn off or get rid of Norton.   I really don't see why you need it.

  • The files and settings to remove the old computer when you make a file and the transfer settings Wizard?

    The files and settings to remove the old computer when you make a file and the transfer settings Wizard?

    Hi KaraDay,

    When you use the files and Settings Transfer Wizard in Windows XP, it only transfers a copy of the files and settings on the computer.

    How to use the "files and Settings Transfer Wizard" in Windows XP

    http://support.Microsoft.com/kb/293118

  • Loss of internet connection after sleep and the computer will not be closed.

    I have a laptop GateWay w / Vista 32 bit OS.  Recently connected to the new internet connection and can connect without a problem.  However, after waking from sleep, the connection is lost, the icon indicates still active connection, can no longer open connection or the computer will restart.  It just hangs and I have to make a hard stop and start again.  If I remive the connection Wireless via safe mode things is back to normal.  However, the cycle repeats when the connection is restored and the computer enters mode "Eve".

    Hi bobert1953,

    This problem can occur when the power management profile turns off your network adapter.

    Method 1: To disable power management feature ent of network cards

    a. click on start

    b. right click on computer

    c. click on manage the

    d. click on Device Manager in the left pane of the window

    e. expand your network card.

    f. now you will see your network adapter or adapters if you have more than one. Right-click on the network component, and then click Properties.

    g. go to the power management tab.

    h. ensure that all check boxes are unchecked (check boxallow the computer to turn off this device to save power is off).

    i. When you have disabled the boxes, click ok and restart your system. Put the computer in mode 'sleep' and check if you still have any questions.

    Method 2: You're also talking about the steps mentioned in the article below, which deals with a similar question

    After you wake up, a Windows Vista-based computer or a Windows 7 sleep mode or Hibernate computer, the network icon and the speaker in the notification area icon do not show the correct state

    http://support.Microsoft.com/kb/937477

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer
    ---------------------------------------------------------------------------------------------------------
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When using my computer, all applications and the windows are closed at the same time, got disconnected and the computer turns off as if someone stops manually.

    Original title: it's a virus that's causing this?

    It happened a few times now. While I use my computer, all applications and the windows are closed at the same time, I am disconnected and the computer is off, as if someone manually stops the computer. I turn on the computer and log in and everything seems to be okay. No data deleted, not that I could find and detect anyway. One day when I turned on the computer, it run chkdsk before doing the usual startup. I use the computer for 2 years and this is the first time, she never did a chkdsk on its own. I used Microsoft Essentials and no viruses were found.

    Should I worry?

    Hello

    You can read the following article and try to download the Microsoft Safety Scanner and perform a full scan on your computer and check.

    Microsoft safety scanner

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Check if there are logs of events related to the issue in the event viewer which may help us to solve the problem of the:

    What are the information contained in the logs of the event (Event Viewer)?

  • How can I move the home button between the front and the address bar?

    Her that I have my firefox put in place over the years is to place the buttons like this:

    [Back] [Front] [Stop/Reload] [Home] [Progress Animation] [Address bar]

    Now in FF29 I'm trying to move the home button between BackForward buttons and the address bar and it won't let me.

    I thought that FF29 was supposed to be the most customizable Firefox yet? * confused *.

    Is there a way to do it, am I missing something? Thank you

    "I thought that FF29 was supposed to be the most customizable Firefox yet?

    Who told you that was incorrect, as far as I'm concerned. Firefox is more customizable than the 'competition', but not as much as the previous versions were.

    The home button can be moved, but the back / button drop-down list is set to the address bar - they cannot be separated.

    The combo Stop / Reload button is locked in the address bar.

    The 'old' activity indicator has disappeared. Deemed unnecessary with the animation of loading on the left corner of each tab, where the favorite icon once the page is completely loaded.

    https://support.Mozilla.org/en-us/KB/how-to-make-new-Firefox-look-like-old-Firefox

    Many users install the extension Classic theme restaurateur.

    https://addons.Mozilla.org/en-us/Firefox/addon/classicthemerestorer/
    But I don't think it will turn out to be along term solution. As users begin to install other extensions, I think they're going to face compatibility issues where the new extension "expects" the user to use what Firefox is come with - not the 'retro' functions

  • Control of data using multiple thermocouples via indicators and the waveform in real-time

    I apologize in advance for this question is probably a bit simple but I'm all new to labview and the forum and could use some advice. I have a CompaqDAQ with two 9213 16 modules of track and I'm trying to read in 30 thermocouples in a waveform, but also display 30 indicators so I can mark each indicator with the thermocouple for real-time tracking. Each thermocouple corresponds to a specific location and it is essential that the interface has an accurate indication or a label for each of them. I wonder if there is an easy way to do this in addition to split the signal and have 30 thermometers on my diagram? Perhaps a table any? If I use a table to create 30 thermometers, the DAQ assistant automatically sorts the thermocouples according to ascending numerical order. For example, would be the indicators of first and second on my interface automatically assigned to channels a0 and a1 of the first module, or should I do it manually? Even for the waveform?  Thank you very much!

    PS - Do not know if this message had need of more details, but let me know if more information is needed, and I'll give you!

    I see that you use the DAQ Assistant to create your task.  Now I understand why you may have about labelling.  It is easy of the seller NOR spiel booting...  But in any case, you already have a task to the MAX instead of use the DAQ Assistant?  The interface is similar and there may be a step or two, but your end application will be more effective and you will have more options with your data and properties.  For example, I tried to update the names of physical channel in the DAQ Assistant installation program, that it let you do, but it propagates that change forward to waveform chart legend.  Also, I don't know any property for this dynamic data type node, although I never use it either.  I suggest the setting up of your task and channels, Max if you'd give it a go.

    Since I thought I didn't really takes you all the way with you help, I wrote another one.  It uses a cluster, even if it's a bit barbaric.  I thought that there was a more eloquent way to do by changing labels, but I could not it works as I had expected.

  • Virtual Drive do not show in the BIOS after you connect Virtual Media to the iDRAC

    Hello

    I had a problem with iDRAC to install from an ISO OS image to a M600 server.

    I have measurements are:

    1. connect to the iDRAC, System-> Console-> launch Viewer

    2. in iDRACView, Media-> CD Media-> ISO Image-> [select .iso image and OS]-> Connect-> closed

    After restarting the server, "boot sequence" in the shown BIOS

    CD-ROM USB device (not installed)
    USB Floppy device (not installed)
    Hard drive C:
    Embedded NIc 1 MBA v4.4.4 Slot 0400

    Manaul Dell boot sequence should show Virtual CD etc but I have everything installed not.

    Cannot start server from the image but the "current status" in Virtual Media to iDRAC is 'connected.

    My server is a Dell M600 and iDRAC IPMI version is 2.0 and the firmware version is 1.60 (Build 3).  Help, please.  Thank you

    RDG,

    Certainly an unusual problem.  A few questions to better understand the issue.

    1st. A it worked correctly at any time, or is - this first enter this part of the functionality of the iDRAC?

    2 have you tried different media in order to ensure that the issue is not isolated just for this disc?

    What is particularly unusual as connected virtual media lists, it's clearly is not resolve as expected.

  • Can you connect U3014 DELL to the PS3?

    OK, I have the old dell 3007wfp 30 '. I tried to connect my ps3 to the screen via hdmi/DVI. It did not work. I can't play either any Blu - ray movie via computer on this screen.

    Now, in the next 2 weeks, I plan to buy the new U3014 from DELL. I'm still very happy with my old dell 3007, but I also want to connect to the PS3.

    My question is can connect you the new dell monitor 30 ' to the PS3 and it allows to play games? I mean that the new screen has the hdmi connection, so maybe it works with the PS3? Can you also use it to watch Blu - Ray?

    The naturalness of 2560 x 1600 resolution can prevent connection and using the PS3 and watch Blu - ray or he makes the adjustment of hd resolution?

    The only reason why I'd buy this monitor is if I can connect to the PS3. Can any representative dell or Dell U3014 help me?

    Hi Mary,

    Dell U3014 comes with HDMI output and you should be able to connect with the PS3 to play games. However, you will need to connect external speakers to "Audio output" to get the sound output as there are no internal speakers in U3014. The monitor is capable of resolutions up to 2560 x 1600 and should be able to play Blu - ray videos without any hassles. You can refer to the technical specifications of the monitor available in Guide user here.

    I hope this helps. Answer please if you have any other questions.

  • Message-Driven beans and the order of the messages in the JMS queues.

    Hi all

    We use Weblogic 10.3.6 and we have a cluster with 2 JMS servers. In our project, it is important to process messages in the order when they arrive in the queues.

    Our question is simple enough, the fact that Message-Driven Beans (of the sort that take up messages in parallel) follow the order of the messages? Or do we need to configure something to do this.

    Thank you!

    According to the oracle documentation:

    With the help of unit-of-Order with Destinations spread

    As already mentioned in the Message of treatment according to the specification of JMS, Service of Message in Java specifications (to http://www.oracle.com/technetwork/java/jms/index.html ) doesn't guarantee no message ordered delivery when applications use distributed queues. WebLogic JMS redirects messages with the same disorder unit and have a target distributed to the same distributed destination member. The Member is chosen by unit of the order of the destination configuration:

    You can also

    If you distribute, you can use control unit andmax-beans-in-free-pool:

    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13814/mdbtuning.htm#BABBEFCA

    More information here:

    Using Message unit-of-Order - 11g Release 1 (10.3.6)

    Tuning Message-Driven Beans - 11g Release 1 (10.3.6)

    WebLogic Server (WLS) JMS mapping control unit works with uniform distribution Destinations (Doc ID 1310795.1)

    Best regards

    Luz

  • I have problems to connect to ePrintCenter and the password recovery link does not work for me.

    I have a PhotoSmart 5510e which was working fine until recently these app printing stop work and display of messages that I need to go to for custom ePrinterCenter it. Has tried to open a session in the ePrintCenter but it keep telling me the password is not valid. And when you use the password to get the link, it keeps telling me to enter the email address associated to the my account when I click OK. I already have then enter the email address what do I do? Really need to connect if I use the App founction on my printer. My computer is running Win7 64-bit.

    Hello jc111,

    I would like to apologize for the problem you are experiencing.  The eprintcenter.com site and the site snapfish.com are connected.  It is possible that you had a printer in the past that you signed up for an account with snapfish, while you were recording with us and you didn't.  I would try going to snapfish.com and using the forgotten password under their log link to see if who you alow reset you the password.  Once the password is reset, log information Web site snapfish.com will be information to use to connect to eprintcenter.com.  If you need anything else please do not hesitate to answer.

  • Connection to host and the State of food in ESXi 5.0

    Hello everyone,

    I have a clsuter running in a center of V after that I have created anothere DR cluster in Vcenter even with three guests: VMware ESX 5.0 (three host)

    My problem is: after I add the hosts alarmed "connection server alarm and power status" every 5 Min in newly instlled three welcome only after three host are disconnected to

    I check DNS, IP/mask, gateway, cable, etc... nothing, Iam also capable of these server ping and able to NSlookup, but this error is not gowing. also confuigure HA cluster Again * three times)

    Thank you

    TechExpert

    Do you have firewall between vcenter and DR ESXi may to check you if the required firewall port is open between ESXi and VC/DNS servers, in order to avoid the frequent disconnection of esxi to VC.

    port to open between vc and esxi

    902, 5989, 80,443,623, 8000, 8001, 6500, 514,8080

    port to open between esxi and dns server

    53, 88, 389

    See below for more information:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1012382

  • using doubt connect by front

    Hello
    I use ORACLE 10.2.0.3.0

    I have the table with columns foll
    2 routes R1 and R2
    R1: N1-N2-N8
    R2-N1-N7-N2-N8
    WITH t1 AS (SELECT 'R1' route_id,'N1' from_node,'N2' to_node,'S444554' schedule_id FROM dual UNION ALL
    SELECT 'R1','N2','N8','S444555' FROM dual UNION ALL
    SELECT 'R2','N1','N7','S444556' FROM dual UNION ALL
    SELECT 'R2','N7','N2','' FROM dual UNION ALL
    SELECT 'R2','N2','N8','S444555' FROM dual) SELECT route_id,from_node,to_node,schedule_id,LEVEL lvl FROM t1
    CONNECT BY from_node = PRIOR to_node
    START WITH from_node NOT IN (SELECT to_node FROM t1)
    
    ROUTE_ID     FROM_NODE     TO_NODE     SCHEDULE_ID     LVL
    R1             N1             N2       S444554             1
    R1             N2             N8       S444555             2
    R1             N2             N8       S444555             3---------not required
    R2             N1             N7       S444556             1
    R2             N2             N8       S444555             2---------not reuired
    R2             N7             N2                                2
    R2             N2             N8       S444555             3
    
    now i don't need the records (which are marked with not required) coming from present query
    i need the output something like 
    
    ROUTE_ID     FROM_NODE     TO_NODE     SCHEDULE_ID     LVL
    R1             N1             N2       S444554             1
    R1             N2             N8       S444555             2
    R2             N1             N7       S444556             1
    R2             N7             N2                              2
    R2             N2             N8       S444555             3
    can any body help me
    Thank you

    Don't forget the route_id:

    SQL> with t as
      2   (select 'R1' route_id, 'N1' from_node, 'N2' to_node, 'S444554' schedule_id from dual union all
      3    select 'R1', 'N2', 'N8', 'S444555' from dual union all
      4    select 'R2', 'N1', 'N7', 'S444556' from dual union all
      5    select 'R2', 'N7', 'N2', '' from dual union all
      6    select 'R2', 'N2', 'N8', 'S444555' from dual
      7   )
      8  --
      9  select route_id, from_node, to_node, schedule_id, level lvl
     10  from   t
     11  start with from_node not in (select to_node from t)
     12  connect by from_node = prior to_node
     13            and route_id = prior route_id;
    
    RO FR TO SCHEDUL        LVL
    -- -- -- ------- ----------
    R1 N1 N2 S444554          1
    R1 N2 N8 S444555          2
    R2 N1 N7 S444556          1
    R2 N7 N2                  2
    R2 N2 N8 S444555          3
    
    5 rows selected.
    

    And thanks for the display of the sample data! :)

Maybe you are looking for