Could not get the idea of the application of the hierarchy

Hello world

I am trying to learn the hierarchy of oracle queries and couples has spent hours, but still don't get it. Suppose I have the following query:

Query

WITH

DATA ACE

(

' Select '100' grp 1 January 2012' effective_date, 30 June 2012 ' termination_date of the double

Union of all the

' Select '100' grp 1 July 2012 ' effective_date, August 5, 2012 ' double

Union of all the

' Select '100' grp, August 6, 2012 ' effective_date, August 10, 2012 ' double

Union of all the

' Select '100' grp 2 August 2012 ' effective_date, August 9, 2012 ' double

),

correct_data like)

Select grp,

TO_DATE (effective_date, ' MON-DD-YYYY "," NLS_DATE_LANGUAGE = ENGLISH ') effective_date,.

TO_DATE (termination_date, ' MON-DD-YYYY "," NLS_DATE_LANGUAGE = ENGLISH ') termination_date

from the data

)

Select the grp, effective_date, termination_date, level

of correct_data

Connect prior termination_date = effective_date-1

advance grp = grp

start by (effective_date)

in (select min (effective_date) correct_data)

order by 1, 2;

The query result

100 1 JANUARY 12 30 JUNE 12 1

100 1ST JULY AUGUST 12 5 12 2

100 6 AUGUST 12 AUGUST 10 12 3

I don't understand why I'm getting this result and does not get the rest 1 row. If someone explain it in simple words, then I really appreciate it. Thanks in advance.

Concerning

Line

Hello

979596 wrote:

Thanks Frank for the great explanation, something is still confused it is:

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

When termination_date BEFORE June 30, 2012, the next line meets these conditions:

100 1ST JULY AUGUST 12 5 12 2

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

How this line satisfy the condition? Please guide.

The above line is on LEVEL = 2.  (The last column of output is the LEVEL which is convenient.)  "It is easier to understand the results in this way.)

This line level = 2 must have satisfied conditions CONNECT it before BY Canada (2-1) = rank = 1.  There is only 1 these rows in the results set, namely:

100 1 JANUARY 12 30 JUNE 12 1

You see how these 2 rows satisfy the CONNECT BY conditions, which are:

Connect prior termination_date = effective_date-1

advance grp = grp

?  If this isn't the case, explain why you think that the above condition should return FALSE (or UNKNOWN), given these 2 rows.

Tags: Database

Similar Questions

  • "Adobe Acrobat Reader DC cannot open 'amy application' because it's a non supported file type or because the file is damaged."   I received this message during indexing on my computer.  I could not get the message, so I uninstalled Adob

    "Adobe Acrobat Reader DC cannot open 'amy application' because it's a non supported file type or because the file is damaged."

    I received this message during indexing on my computer.  I could not get the message, so I

    uninstalled Adobe.

    After you have uninstalled Abobe, I was able to get all my jobs and applications (with the exception of adobe files).

    Then I tried to re - install Adobe, but who has turned to a complicated procedure.

    There are so many choices, and there are a number of downloadable updates. What was I guess what to do?   But I have chosen one of the Adobes and tried to install it.

    After that I don't know what happened.  All my desktop icons are now Adobe icons in place.   that is The Firefox icon is now replaced by an icon of Adobe.  It is the same for several other desktop program icons. (QuickTime, chrome, Internet Explorer, etc.)

    When I try to open the program by clicking on it, I get the above message.

    I went to the site of help from Adobe and read a complex string of instructions, including

    words like '% pdf', "DWROD" and, for me, other nonsensical words and phrases.

    Needless to say that the instructions were no help.

    I said all that to say this.  I want that my computer back.  What should I do to do?

    Sincerely,

    Ralph Thompson

    [personal information... [Mod - https://forums.adobe.com/docs/DOC-3731]

    [This is an open forum, not the Adobe support, please do not post personal information]

    [If you send messages by e-mail, please turn off your "sig file" function for display]

    This may help: Application, file icons change in Acrobat/Reader icon

  • Update could not get the following error U44M1I210.  Tried several times on 2 Mac running Yosemite

    Try to update CC 2015 without success.  Update could not get the following error U44M1I210.  Tried several times on 2 Mac running Yosemite.  Any ideas?

    U44... Update error http://forums.adobe.com/thread/1289956 can help

    -U44 more... discussion http://forums.adobe.com/thread/1275963

    -http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

    -http://helpx.adobe.com/creative-suite/kb/error-u44m1i210-installing-updates-ccm.html

  • Event generated by the user 'anonymous' the host 'CIS '. Could not get the reference.

    Hello

    We have integrated our portal customized with the AAU in document taskflows webcenter application.
    We are not able to view the Soum, extracted from the Complutense University of MADRID. Here's the error to get connected UCM whenever we access the application.

    Event generated by the user 'anonymous' the host 'CIS '. Could not get the reference. Can not read the file. [Details]
    An error has occurred. The stack trace below shows more information.

    ! csUserEventMessage, anonymous, CIS! $! csCollectionUnableToGetReference! csCollectionCannotRead
    intradoc.common.ServiceException:! csCollectionUnableToGetReference! csCollectionCannotRead
    * ScriptStack COLLECTION_GET_REFERENCE
    3:getReferenceMeta, * no captured values *.
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    Collections. CollectionUserHandler.getReferenceMeta (CollectionUserHandler.java:1765)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:600)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:533)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    Kind regards
    Francis P

    What is the security group of your records? It is public.

  • I can hear a wav file, but could not get the video from my camera.

    original title: file WAV on Vista

    I can hear a wav file, but could not get the video from my camera.

    I have windows vista?

    Hello
    WAV files will be audio only.
    You can save this file as an MP4.
    B Eddie

  • I have a 64-bit system running Windows 7. I could not get the AutoPlay to open whenever I insert a CD or a DVD.

    I have a 64-bit system running Windows 7. I could not get the AutoPlay to open every time I insert a cd or a dvd, I changed the settings to Ask Me to Windows Media Player to open with Windows Explorer... but nothing I tried introduced the feature of AutoPlay to life.

    Is there a solution

    original title: AutoPlay Windows 7

    It worked for me: I forgot where I got it, could have been here if it's a little different from what I've seen above

    PIECE AUTO REPAIR
    USING GROUP POLICY EDIT
    gpedit.msc in search
    Computer Configuration\ Administrative Templates\ Windows Windows\ Policies\ will disable Autoplay.

    In the REGEDIT HELP: Group Policy Editor is not provided with Windows Home editions, however, you can use regedit to achieve the same result.

    Open regedit and locate the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

    Change: NoDriveTypeAutorun to 0 x 91

    If necessary, create this key as a DWORD.

  • Spore origans. But they could not get the disc to download

    Original title: I installed the origans downloads spores then tried to combine with my set of spore origal disc I can do that I prefer to use my disc that the download, but could not get the disc to download

    Windows 7 Edition home premium

    Hello

    EA Spore games are you referring?

    If you are referring to the games EA Spore, I suggest you check the link for support:

    https://help.EA.com/en/spore?sso_redirect=1

  • •EPMCSS-05261: could not get the information of the Aboriginal group.

    Hello

    Recently, we migrated user 11.1.1.3 11.1.2.3 version version.

    I tried to open one of the groups and clicked on the tab user membership in the group. I got the error message in the new version 11.1.2.3 below.

    «•EPMCSS-05261: could not get the information of the Aboriginal group.» Error getting to some of the affected user entries. Check the configuration and user directory State.

    Please could you let me know why we get this error message and no impact on the safety of the user.

    Thank you

    Michel K

    Read through the following Oracle Support document - "EPMCSS-05261: could not get the native group information (Doc ID 1619561.1).

    See you soon

    John

  • Re-installation of creative suite all-in cs6, I get the error: Exit Code: 7 ERROR: DW013: could not get the root of inChildPath

    System:

    Windows 7 (Service Pack 1)

    3720QM-i7 CPU @ 2.60 Ghz

    16 GB OF RAM

    Adobe Creative Suite Production Premium CS6

    I got a computer breakdown and both after effects and the first started crashing after that.

    I uninstalled then and since then I can not reinstall. I get this error message:

    Exit code: 7

    ERROR: DW013: could not get the root of inChildPath

    I tried:

    1. 1- Repair of Microsoft Visual C++ Redistributable Packages
    2. 2- Uninstall Adobe AIR, then reinstall the AIR and the Adobe help
    3. 3- I tried to use the vacuum (running it as an administrator but but it does not open)

    What is my next move?

    I have work to do.

    Thank you

    Stefan Vanderland

    Code 7 https://helpx.adobe.com/lightroom/kb/exit-code-7-displays-installing.html

  • Unable to get hardware information for the selected with vmware converter 5.5 computer (could not get the ability to \\.\PhysicalDrive0: error opening peripheral drive: 32 an unknown error (0 x 20) (32))

    Hello

    I'm doing a P2V with vmware converter standalone 5.5

    The source is the same machine that hosts the vmware converter 5.5

    The operating system is W2003 which acts as a domain controller

    VMware converter is launched by the administrator account.

    The error that I see on the balls of vmware - converter.worker is:

    2014 02-13 T 17: 36:35.592 + 01:00 [04344 WARNING "Default"] could not get the ability to \\.\PhysicalDrive0: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:35.592 + 01:00 [warning 04344 "Default"] jump drive hard "\\.\PhysicalDrive0."
    2014 02-13 T 17: 36:35.592 + 01:00 [04344 WARNING "Default"] could not get the ability to \\.\PhysicalDrive1: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:35.592 + 01:00 [warning 04344 "Default"] jump drive hard "\\.\PhysicalDrive1."
    2014 02-13 T 17: 36:35.592 + 01:00 [info 04344 "Default"] Found volume with name '\\?\Volume{0395a0a1-8c42-11da-a7d7-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:35.592 + 01:00 [info 04344 "Default"] Found volume with name '\\?\Volume{18297536-8c0b-11da-8528-0014852d7e43}\ '.
    2014 02-13 T 17: 36:35.592 + 01:00 [info 04344 "Default"] Found volume with name '\\?\Volume{caf5e9f8-4e6c-11dd-b440-0014852d7e43}\ '.
    2014 02-13 T 17: 36:35.592 + 01:00 [info 04344 "Default"] Found volume with name '\\?\Volume{2958b89a-b562-11dc-a508-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:35.592 + 01:00 [info 04344 "Default"] Found volume with name '\\?\Volume{0395a09f-8c42-11da-a7d7-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:35.592 + 01:00 [info 04344 "Default"] Found volume with name '\\?\Volume{0395a09e-8c42-11da-a7d7-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:35.592 + 01:00 [04344 WARNING "Default"] could not get the ability to \\.\PhysicalDrive0: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:35.592 + 01:00 [warning 04344 "Default"] jump drive hard "\\.\PhysicalDrive0."
    2014 02-13 T 17: 36:35.592 + 01:00 [04344 WARNING "Default"] could not get the ability to \\.\PhysicalDrive0: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:35.592 + 01:00 [warning 04344 "Default"] jump drive hard "\\.\PhysicalDrive0."
    2014 02-13 T 17: 36:35.592 + 01:00 [04344 WARNING "Default"] could not get the ability to \\.\PhysicalDrive1: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:35.592 + 01:00 [warning 04344 "Default"] jump drive hard "\\.\PhysicalDrive1."
    2014 02-13 T 17: 36:41.155 + 01:00 [warning 04344 'Default'] attention: no attached disks have been detected.
    2014 02-13 T 17: 36:41.155 + 01:00 [04344 error 'Default'] [LiveWindowsComputer] could not find disks connected to the computer.
    2014 02-13 T 17: 36:41.170 + 01:00 [info 04344 "Default"] scheduled timer cancelled, succeeds StopKeepAlive
    2014 02-13 T 17: 36:41.170 + 01:00 [04344 error "Default"] unknown exception when calling VMOMI method queryComputerInfo
    2014 02-13 T 17: 36:50.358 + 01:00 [05648 WARNING "Default"] could not get the ability to \\.\PhysicalDrive0: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:50.358 + 01:00 [05648 WARNING "Default"] Skip hard drive "\\.\PhysicalDrive0".
    2014 02-13 T 17: 36:50.358 + 01:00 [05648 WARNING "Default"] could not get the ability to \\.\PhysicalDrive1: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:50.358 + 01:00 [05648 WARNING "Default"] Skip hard drive "\\.\PhysicalDrive1".
    2014 02-13 T 17: 36:50.389 + 01:00 [info 05648 "Default"] Found volume with name '\\?\Volume{0395a0a1-8c42-11da-a7d7-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:50.389 + 01:00 [info 05648 "Default"] Found volume with name '\\?\Volume{18297536-8c0b-11da-8528-0014852d7e43}\ '.
    2014 02-13 T 17: 36:50.389 + 01:00 [info 05648 "Default"] Found volume with name '\\?\Volume{caf5e9f8-4e6c-11dd-b440-0014852d7e43}\ '.
    2014 02-13 T 17: 36:50.389 + 01:00 [info 05648 "Default"] Found volume with name '\\?\Volume{2958b89a-b562-11dc-a508-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:50.389 + 01:00 [info 05648 "Default"] Found volume with name '\\?\Volume{0395a09f-8c42-11da-a7d7-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:50.389 + 01:00 [info 05648 "Default"] Found volume with name '\\?\Volume{0395a09e-8c42-11da-a7d7-806e6f6e6963}\ '.
    2014 02-13 T 17: 36:50.421 + 01:00 [05648 WARNING "Default"] could not get the ability to \\.\PhysicalDrive0: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:50.421 + 01:00 [05648 WARNING "Default"] Skip hard drive "\\.\PhysicalDrive0".
    2014 02-13 T 17: 36:50.452 + 01:00 [05648 WARNING "Default"] could not get the ability to \\.\PhysicalDrive0: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:50.452 + 01:00 [05648 WARNING "Default"] Skip hard drive "\\.\PhysicalDrive0".
    2014 02-13 T 17: 36:50.499 + 01:00 [05648 WARNING "Default"] could not get the ability to \\.\PhysicalDrive1: error opening disc device: 32 an unknown error (0 x 20) (32)
    2014 02-13 T 17: 36:50.499 + 01:00 [05648 WARNING "Default"] Skip hard drive "\\.\PhysicalDrive1".
    2014 02-13 T 17: 36:56.155 + 01:00 [05648 WARNING 'Default'] attention: no attached disks have been detected.
    2014 02-13 T 17: 36:56.155 + 01:00 [05648 error 'Default'] [LiveWindowsComputer] could not find disks connected to the computer.
    2014 02-13 T 17: 36:56.155 + 01:00 [info 05648 "Default"] scheduled timer cancelled, succeeds StopKeepAlive

    This had already happened with another server (also W2003 DC), but the hardware was completely different; Unfortunately, I wasn't able to solve this year here.

    Any help or advice would be appreciated, thanks in advance

    Thank you for all your help

    I finally found the guilty service.

    It was pcmonitor monitor/remote control software. Once I stopped it is service vmware converter could get the capacity of the physical drives.

    It is rather curious because I made several servers P2V conversions using this software (so far the last one two weeks ago - the difference between that server and this one was that the first was not a domain controller).

    Hopefully this thread will help others in the future.

  • Error "could not get the audio data in the file.

    Hello

    I get a lot of mistakes "Could not get the audio data in the file" when you open a project. Sometimes they will plant Premiere Pro CC 7.01 (Mac). But if no first works as usual, with the audio.

    I tried to convert the audio files (from the hearing) from 32 to 16 bit. It worked while opening a project once, but not the next time.

    Where can it be?

    Edit: I also get this error when importing audio: "error: Premiere Pro version 7.0 is not compatible with the first version of plugin Pro 5.7.4. Maybe it's related.

    I have it! This is the plugin Smartsound hurt. Got rid of him and no more errors.

  • Satellite P200 - 1 K 8 - could not get the display and audio drivers to work

    Hello.
    I'm getting desperate. I tried everything I could imagine.

    First of all - do not get the control center catalyst to work, I don't have the graphics driver installed now (I tried both - Toshiba and Mobility Modder modified driver ATi - none works.)
    Second - when I install the audio driver Realtek audio Manager is encoutering the problem and needs to close every time at startup. And Yes, I updated the BIOS to version 5.20 installed XPSP3, chipset driver installed (the most recent Intel homepage or one of Toshiba, anyone, always the same question).

    Help, please. I don't want to spend the rest of my life trying to get XP on my laptop.
    Thanks in advance.

    Can you please send the number of full model of your laptop?

  • Satellite L10 - 195 - could not get the WIFI connection to the internet

    Hello

    I downloaded and installed the latest dirvers for wireless cards and EThernet for my laptop but I can not get the wireless to connect to the internet!
    Please help me before I crush my laptop. :]

    Thanx

    PS: Anyone know if there is one special way (other than the function keys) to swith the wireless on?

    Hello

    This may be a stupid answer, but on my laptop there is a switch on the front of the laptop that needs to be enabled for the wireless work. I saw this as a first step, and it doesn't seem to be well documented. Good luck.

  • Satellite P100-160: could not get the proper functioning

    Hello

    I was wondering that if someone had had experience of this problem - the sound on my laptop did not work.
    However when I go into Control Panel, windows tells me that the card its conexant high definition smartaudio HD2 works.

    If I try to download the sound card again, an error message comes up saying "" driver installation failed: could not find the device of media for this driver. ""

    Strangely, the sound will then work fine.
    But the problem returns to the restart of the computer.

    Does anyone have advice or suggestions?

    Any help much appreciated.

    Hello

    The laptop supports the Conexant High Definition sound card and therefore the Conexant audio driver should work and can be installed.

    What operating system do you use?
    The operating system is up to date?
    Have you tried the Toshiba Recovery disk?
    Have you tried to reinstall the OS again to check if the OS is not confused upward?

  • Satellite L510 - PC Health Monitor - could not get the Type of Bios

    Hi guys,.

    I m appeal for some help and hope that some of you experts out there may be able to help me!

    My laptop is a Satellite L510 bought November 2009
    Windows 7 Home Premium SP1 32-bit
    The version of the BIOS/Date: INSYDE, 1.30, 08/05/2009

    Problems:
    1 ReelTime (worm: 1.0.04.0) TC00210100H stopped working about 6 months ago, so I uninstalled it.
    2 PC Health Monitor (worm: 1.4.0.0) TC00148300O

    Value Added Package: Worm: 1.2.25 (TC00214700E)

    For a couple of weeks stop would take a little longer than before and last weekend he just stopped even if the battery is fully charged.

    I had a bit of a job to resume but I finally did, I came to the conclusion even if the hard drive was not.

    I then tried to open the PC Health Monitor, but this error appeared impossible to get the type of bios and obviously wouldn t open. I uninstalled PCHM programs and features and then ran TC00148300O.exe of
    C:/Program Files / Toshiba / TOSAPINS / COMPS1 / TOSHIBA PC Health Monitor - 1.4.0.0, it seemed something was going on but ultimately nothing has.

    I dropped while I needed to sort first on the hard drive. Long story short, the hard drive has been replaced by a SSD 840 EVO 250 GB by a friend of TI at work.

    I prefer like to get ReelTime and PCHM working again correctly troubleshooting (with your help) that I put t really want to restore back provided that the factory, but if I have to...

    If I have explicit instructions on how to do that would be a big help (if necessary I can also get my friend to help me).

    If I n t give any other specific information that you need please ask. I apologize for this long post, but thanks to anyone who responds.

    Hello

    If you replaced the HARD drive I recommend you to install original recovery image and start using your machine with the factory settings. After that it all will again be OK. Install important Windows updates current, your important software and I think that everything will be OK again.

    Software related questions can sometimes be very complicated. All you can try to do is remove pre-installed application, restart the computer and try to install it again.

    On BIOS I can just say that you shouldn't change anything.

    One last thing: I don t know how important ReelTime and PC Health Monitor are for you, but I removed the two applications on my system. In my opinion there is no much help from both of them, but they CPU utilization for the unnecessary process.

Maybe you are looking for

  • Connected with the fake apple on iCloud ID

    On iTunes and AppStore I connected my correct apple ID but in icloud I don't know how some different apple id is connected, and I do not know the password of it. Im not able to disconnect from icloud, because it requires the password. so, help me to

  • Remove iPhone iCloud

    Hello! I had to send an iPhone broken 6 (not mine, my boss phone) for repair / replace. I was prompted to remove the device to iCould. Backup of the phone is stored in iCloud, if I remove the phone? It is very important to keep backups, we intend to

  • Office Windows 7 HP 110 t

    I am considering buying the HP 110 t Windows 7 Desktop, but the specifications in the e-mail circular saying for a power supply it has an "External 90W AC adapter.  All references I found to this unit said that, but it's probably not good?  It is a u

  • Using the bottom metal painted in an EXE

    If I use the brushed - metal melts and make an EXE, the background effect will remain, without having to include a particular setting file or ini, etc.?

  • How to re - install office

    I've had a dell AIO 2710 for more than 2 years desktop computer, now out of warranty. I've recently had problems and had to re - install windows. I now no longer have my suite I bought with the computer. Microsoft application site you buy before down