LEVEL and hierarchical issue

Hello

I have a request as follows

[code]

Agendasub_orderparent_orderStartDateQty.
ABC10110031/03/2015100
ABD10310231/03/2015120
ABD10410204/01/2015230
XYZ10610531/03/2015110

[/ code]

I'm trying in this output... I tried with LEVEL and Connect by before, but I'm not able to get the result like this

[code

AgendaOrderlevel
ABC1001
ABC1012
ABD1021
ABD1032
ABD1042
XYZ1051
XYZ1062

[/ code]

Thank you very much in advance

You can not use connect by bypassing a hierarchical structure.

What you get is an output like the one you want without using you connect to.

with mydata as

(

Select the item "ABC", sub_order 101, 100 parent_order, to_date (31 March 2015 ', ' dd/mm/yyyy') startdate, Qty 100 of union double all the

Select the item 'ABD' sub_order 103, 102 parent_order, to_date (31 March 2015 ', ' dd/mm/yyyy') startdate, 120 qty of union double all the

Select the item 'ABD' sub_order 104, 102 parent_order, to_date (4 January 2015 ', ' dd/mm/yyyy') startdate, Qty 230 of union double all the

Select the item "XYZ", sub_order 106, 105 parent_order, to_date (31 March 2015 ', ' dd/mm/yyyy') startdate, Qty 110 double

)

Select item, sub_order DSB, lvl 2

of mydata

Union

Select the item, parent_order, 1 lvl

of mydata

order by DSB;

POINT ORD LVL

---- ---------- ----------

ABC 1 100

ABC 2 101

102 1 ABD

103 2 ABD

104 2 ABD

105 1 XYZ

XYZ 2 106

7 selected lines.

Kind regards.

Al

Tags: Database

Similar Questions

  • Re: Overheating and lag issues on the Satellite C660/C660D

    Hello community of Toshiba

    I am a new user of Toshiba, I have a new Toshiba laptop as a model of its Satellite C660 / C660D, I use my new laptop for 6 months and I have some kind of a lot of time on my laptop. Sometimes I keep it open for more than 10 hours.

    My problem is like 3-4 months at the bottom right of the screen there is a caution came out as "there's something wrong with your hard drive, you should give it to any service of Toshiba for warranty".
    But it happened because I played on users, I mean users option for windows, not something material, changing just the current user name caused this and he now has weird name when I reversed the name change; He turned to something like TOSH ~ 1, etc.

    After several times, I mean like 1 month ago, my computer got very slow. Video games with their high resolution, but now the phone LAGS even I put it in low resolution, I played... I did not change any material or touched. But it is frustrating to see that I can't do the things I used to do more.

    Another thing is, I'm afraid of the heat from the laptop. Is it normal to have 49-50 degrees? Because when I play games, it is around this level. I live in a hot city.

    Some people asked me to use HD Tune to check that if I have a bad sector on the hard drive, I did. Does not work either.
    I deleted some of my files to get the free space on my HARD drive also, likely 150 concerts altogether. I even wiped the empty space in my HDD via CCleaner. I often do the basis of registry-fix with it as well. Movies and games flash hangs out as well. And sometimes when I watch videos, the sound cuts, so I have to pause, and then click play it again to fix it but it happens in various video players, not youtube. Very probably all watching anime.

    And what do I do? I don't want to go for the service, I'm sure they'll make me wait several weeks of 100%. I use usually my laptop with its adapter. Oh and, over the life of my laptop, 2 - 3 times he got stopped himself while it wasn't on the map whenever I check, he was really but really hot.

    So, what should I do? I don't want to open the computer to look inside, I do not understand, and he would risk my 2 year warranty.

    I am looking forward for your answers, I'll be very happy. Thank you.

    Post edited by: Blizzart (model added to the topic)

    It is not easy to say what the problem is here. In General, you should think about upgrading the RAM to the maximum level. With more RAM laptop should have more power and different operations should be made much more quickly.

    To make my laptop better and faster I ve upgraded RAM to the maximum level and also changed SSD HARD drive. So big difference there and phone now works like a rocket. Think about upgrading RAM.
    > Another thing is, I'm afraid of the heat from the laptop. Is it normal to have 49-50 degrees?
    From my point of view, this temperature is normal and certainly not too high. When you use your laptop, place it on the office and ensure that the cooling fan and cooling rack are free and not blocked.

    Don t open your laptop. Anyway, you can't do anything except to void your warranty. RAM upgrade can be done by the owner of the laptop and it will not void your warranty.

  • I am wanting to sort a walk down to the granular level and there are folders with files, etc.. Is there a product on the market that can do this?

    Original title: walk sorting

    I am wanting to sort a walk down to the granular level and there are folders with files, etc.. I am wanting to sort by date created or modified. Is it possible to set the entire disk for all files without having to open each indvidual folder for a list, or is there a product on the market that can do this?

    Sorting all of the drive is not possible. Perhaps, it can be done by another program I'm not aware of.

  • I can't send email Outlook Express (sudden problem). It is a new and sudden issue. Error number: 0x800CCC67

    Original title: I can't send email Outlook Express (sudden problem). It is a new and sudden issue.

    I use Outlook Express 6 and make this message. An unknown error has occurred. "Account: 'XTRA', server: 'smtp.xtra.co.nz', Protocol: SMTP, server response: ' 421 mta01.xtra.co.nz connection refused [222.155.136.138] ', Port: 25, secure (SSL): no, Server error: 421, error number: 0x800CCC67.

    Continues to receive e-mails.

    Hello

    Have you made changes on the computer before this problem?

    The following article might be useful.

    Troubleshooting error messages that you receive when you try to send and receive e-mail in Outlook and Outlook Express
    http://support.Microsoft.com/kb/813514

  • I can't see changes in a folder unless I go up a level and then re-enter folder, for example, create new folder, rename the folder, rotate the image etc. Can someone please?

    I do not see changes within a folder, except if I go up a level and then again enter the folder, for example, create new folder, rename the folder, rotate the image, etc..

    By pressing the "F5" key would probably be to refresh the folder.

    See if this article helps you with this problem:

    "List of the files in the Windows Explorer folder is not refreshed after that you create, move, or delete files"
      <>http://support.Microsoft.com/kb/823291 >

    HTH,
    JW

  • How to change the default zoom level and make it persist?

    My computer uses Vista 6 and IE 8.  The default value for the zoom level is 0.  I have to manually change to 80 and my change is not persistent.  How can I change the zoom to 80 level and make the value persists?  Note - under Internet Options, advanced, accessibility, "Reset the zoom level for new windows and tabs" is not checked.

    The DPI setting always displays 0 or 100% zoom, even if you use the custom settings of the zoom displays 100% from there.

    Unless I'm missing something?

    But there still make the text smaller really made a lot of meaning for me in any case, I find the default 125% even small and use the status bar and its 140% zoom page as well :)

    You can even check to see if your resolution is on he recommended setting to match the size of your screen.

  • Any code can get battery level and level of radio signal?

    Any code can get battery level or the level of radio signal?

    I tried to get the code of code of the radio signal power level and battery level, but not able to find related information in Google and NDK reference.

    The two levels are exist developing Smartphone BlackBerry in the Java API.

    If anyone knows how to get the level of signal radio such as wireless or battery and so on, pls help me how to get it.

    Thank you for your attention.

    Hello

    The best level and Radio API level are not supported from now and they are in the road map to be supported in the future.

    Thank you

    Naveen M

  • How to get the battery level and status in the cpp file?

    Hi all

    BatteryInfo class so I can I know how to get the battery level and the State in .cpp class?

    Hi Benecore,

    I have Add method below,

    #include

    But I only variable BatteryInfoPrivate not get variable BatteryInfo. You can also check on your side.

    So let me know how to get batteryInfo instance?

  • My Windows 7 Pro system has some serious hardware, internet connection and security issues. The system image and restore the system in case of failure.

    My Windows 7 Pro system has some serious hardware, internet connection and security issues.

    My efforts to remedy by restoring a system image backup failed.  At this point, I'm ready for a new clean install if I have to buy a drive to do.  My question is whether a professional Ultimate upgrade will or will not fix these bugs.  In addition, what is the cause of restoring the system to fail?  I never turned off or cannot create regular restore points.

    Original title: upgrade a "Fix" for existing system problems?

    My Windows 7 Pro system has some serious hardware, internet connection and security issues.

    My efforts to remedy by restoring a system image backup failed.  At this point, I'm ready for a new clean install if I have to buy a drive to do.  My question is if an upgrade to Professional Ultimate will be or not correct not these bugs.  Also, what is the cause System Restore to fail?  I never turned off or cannot create regular restore points.

    Hello

    1 re-installing/repairing software will not fix hardware issues.

    2. the operating system upgrade is not the way to solve computer problems that can be carried forward.

    3 1. If you use Norton, you should disable Norton inviolable Protection before using System Restore.

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    AVG will cause problems with SR too.

    «Temporarily disable AVG»

    http://www.Avg.com/ww-en/FAQ.Num-3857

    2. try to use Safe Mode system restore.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    "Start your computer in safe mode.

    http://Windows.Microsoft.com/en-us/Windows/Start-computer-safe-mode#start-computer-safe-mode=Windows-7

    3 Malware will stop at the system restore.

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    ____________________________________

    We really need for more details:

    "My Windows 7 Pro system has some serious hardware, internet connection and security issues.

    See you soon.

  • Where are the best sites for high-level and how information to do different things in Oracle?


    Hello

    Where are the best sites for high-level and how information about various things in Oracle?

    Some examples of things:

    * spa

    * spm

    * db replay

    * Resource Manager

    I need a place high-level

    and also a place of step by step.

    For example, I look at these sites:

    www.Oracle-base.com

    www.psoug.org

    Thank you Roger

    Part of the problem is not so much finding sites that have articles on Oracle, that is to find reliable websites with this information.  When I search my site of certification for resources, I find a significant number of people who have 'technical' Articles on Oracle. However, many of these blog posts have simply no useful information.  It is not even that they are wrong so far as article does not include anything that is not declared more clearly and in detail in the documentation.

    That said, a site you have not mentioned above is the Oracle Learning Library.  There very often an excellent material that is very closely linked to the themes of the certification:

    https://apexapps.Oracle.com/pls/Apex/f?p=44785:1:0

  • How is it that when I click on clear form Acrobat is option clears all fields populated by a JavaScript document level and if I save them the start of the JavaScript document level form is no longer works?

    How is it that when I click on clear form Acrobat is option clears all fields populated by a JavaScript document level and if I save them the start of the JavaScript document level form is no longer works?

    Or a link to the form or a sample with the same problem.

    You only set the function to run but not executed.

    You should add a line like:

    AtStartup();

    to your script.

    As noted if you have been set "defaultValue" to the fields, then clear the fields would remove any entry present and restore the default values.

    Or you could write a custom JavaScript to clear the fields and then run your startup script.

  • I want to confirm that the update of Adobe Reader 10.1.15 is legitimate.  This update apparently fixes security vulnerabilities and customer issues.

    I want to confirm that the update of Adobe Reader 10.1.15 is legitimate.  This update apparently fixes security vulnerabilities and customer issues.

    Hi Jeremiah,.

    Yes, the Player update 10.1.15 is legitimate.

    In fact, we released the latest patch 10.1.16 October 13.

    You can download the same: Adobe - Acrobat: for Windows

    For immediate release notes please reference: https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html

    Kind regards
    Rave

  • I have no sound when playing my clips by adobe first 12 elements. How to fix this? I checked all the audio levels and there is no mute etc. I've updated to 12.1. Still no sound.

    I have no sound when playing my clips by adobe first 12 elements. How to fix this? I checked all the audio levels and there is no mute etc. I've updated to 12.1, but still no sound in clips. Not even on the old files that are used to work.

    Bfun

    What operating system is running your first items 12/12.1? Can we assume that this audio reads OK

    on the same computer when you use a computer independent of Premiere Elements drive?

    What are the properties of these clips that have worked before, but don't know regarding sound

    For now, I will assume that you are working on Windows 7, 8 or 8.1 64bits.

    Have you checked the settings change preferences/Menu/Audio ASIO hardware? You have all 3rd party audio devices integrated in your IT environment?

    Please delete the Adobe Premiere elements Prefs file and, if it does not, then all 12.0 folder in which the Adobe Premiere elements Prefs file exists. Is the path to 64-bit Windows 7, 8 or 8.1

    Local disk C

    Users

    Owner

    AppData

    Roaming

    Adobe

    First Elements

    12.0

    and in the 12.0 folder, is the file Adobe Premiere elements Prefs that you delete. If this does not work, then delete all 12.0 the folder in which the Adobe Premiere elements Prefs file exists. Make sure that you work with the Option "Show hidden files, folders and drives" of the current folder so that you can see the full quoted path.

    You have the installation files or the installation disc with the serial number purchased in case we need to use to uninstall/reinstall?

    We will follow your track to the top.

    RTA

  • ESX to ESXi 4.1 4.0 updating level and question VMFS

    I am in the process of upgrading to ESX 4.0 to ESXi 4.1 (rebuild).  I have vCenter 4.1 set level and the first host ESXi 4.1 rebuilt added to the datacenter.  I'm trying to find documentation indicating that ESXi 4.1 and ESX 4.0 host can share the 3.33 VMFS datastore that existing sites on the SAN.  I found the user who publishes say VMFS 3.x will work on all ESX versions, but before exposing the LUN to the new 4.1 server, I just wanted to be sure.

    Thank you.

    You'll be comfortable sharing data warehouses.   ESX(I) 4.x may also share data with ESX(I) 3.5 hosts a store and be in a cluster with the hosts.

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • VMware Converter Standalone copy is the copy block level and sometimes at the level of files

    Hi team,

    I use VMware converter standalone for P2V and V2V migrations. I noticed that some readers are cloned by the converter by block-level copying and some readers are colned by the file-level copy. Anyone can unmask me why is it so? Block level and file level methodology is decided by the converter on what basis? is the size of the size\sector disc or disc type? Any suggestion will be highly appreciated.

    Thanks in advance

    Kind regards

    Rohit

    Screen enclosed... Post edited by: RohitGoel

    RohitGoel wrote:

    Is there a limit of resizing who decide if vmware converter will use the file level cloning. I have attacehd a screen shot... I'm resizing it had ' (from 50 GB to 80 GB) drive also for traget VM but yet Vmware converter used method block based to clone and 'E' is also a resized to target disk is converted by file based cloning. .. is there something else that decides on the level of the file or block level when it resizes?

    No limit of resizing.

    To resize the D: you extend that will always use at the block level.

    What do you do to E:?  Size reduction?

Maybe you are looking for

  • R61 supported memory Max

    Nobody knows with certainty what is the maximum RAM (memory) supported by ThinkPad R61 8933 - A38. In addition, which is faster memory that can use this laptop?

  • Tengo problemas con mi cuenta, not me already worm invitaciones y me as soon as the problems than puedo hacer tiene cuenta?

    Tengo problemas cuando ingreso a mi correo, primero todo el sistema as me trae por mi E-mail default y mi clave y no me already even colocarla, simplemente cuando entro an automatically abre mi correo hotmail. Adicionalmente hace mucho tiempo no pued

  • How to use the Live hi fi s head on sony xperia play

    Hi all, I bought a new sony ericsson live hi fi helmet of America last month, at the moment I buy sony xperia mobile s on this butterfly. Direct hi fi: head series is not working for xpeia, is there any adapter is avaiible in the Indian market, pleas

  • 8801e1e9 error reading remote (Z3 with Ps4)

    I'm trying to connect my Ps4 and my Z3 on playback remotely, but I get this error message "8801e1e9" I have connected the Ps4 with the Playstation app without problem but had problems understanding how to connect my dualshock to my Z3, but I finally

  • Recovery drive stalls on blue screen

    I have a desktop HPE-180 t. The C drive in it gradually impossible where it won't start now. I have a 3 disc set recovery. I tried to restore from that - but it's just a blue screen with a white top, as if you were under water and looking upward to t