TREE - in any case to enter the prior and his prior ID?

Hi, I have a tree view.
I have branches that may be outside over a trunk.
If I click on a branch, I also want to know what is its parent and its parent company (unless it is already at the top)
If I click on the person that I want to know the Budget, which is the same, but also costs report 13

One trunk
-Report of expenditure 13
-Budget
-The person < = click
Two trunk
-Report of expenditure 24
-Budget
-The person

Then in the SQL, I thought of prior analytical function but I need 2 levels... and we can use that in a SQL tree?

Hello

PRIOR can only put back one level.
If the grandparent is unique, you can extract it SYS_CONNECT_BY_PATH results, using REGEXP_SUBSTR.
If this isn't the case, you may need to do a Query of Yo-Yo , you two CONNECT BY queries, in opposite directions.

I know that this answer is vague. For a more specific answer, post a small example data (CREATE TABLE and INSERT statements), or expression of the question in terms of scott.emp or hr.employees.
Whatever it is, according to the results you want on the sample data and explain how you get these results from these data.

Tags: Database

Similar Questions

  • Microsoft had a band, probably not my music a little... In any case, it is the second shortcut of Microsoft which is supposed to take me to the "Windows 7 Compatibility Center.

    I won't be here but Microsoft seems very happy sending me on the prosecution of the wild goose, and here I landed! I didn't even know that Microsoft had a band, probably not my music a little... In any case, it is the second shortcut of Microsoft which is supposed to take me to the "Windows 7 Compatibility Center. The first, in the Windows help sent me to http://windows.microsoft.com/en-us/windows/support#1TC=windows-7. Not a mention of the word "compatibility" on the page anywhere. Then, enter 'compatibility' in the search for support and here is the result, looks promising. https://www.microsoft.com/en-us/search/result.aspx?q=compatibility. But no, I click on the first result that says Microsoft compatibility Center. Even what seems to be the correct web address, microsoft.com /compatibility and it takes me here http://www.microsoft.com/microsoft-band/en-us/support/hardware/microsoft-band-system-requirements. I give up!

    Hi André,.

    Please keep us updated.

    Unfortunately, the center of compatibility Windows has actually retired. To find out if any program that works with Windows 10 or not, you can check with the developer to program on the compatibility of its operating system. In addition, when you migrate to Windows 10 from a previous version of Windows, you are informed about programs that may not work with Windows 10. However, you can try to install these programs in compatibility mode and check.

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • In any case to control the speed of the fan to Alienware Aurora R4?

    In any case to control the speed of the fan in Alienware Aurora R4?

    Hello

    You are running the latest version of the Bios?

  • HP 15-ac108na: how to enter the BIOS and the RECOVERY of the screens, please?

    Hello

    Can anyone help? I need to know the keys to press to enter the bios and recovery screens. If I missed anything like splash screen, then I need to know this as well.

    Buy laptop just left Saturday. Quite happy with it really.

    Hello

    Shut down the laptop - like you are on Windows 10, do this by holding down the key SHIFT left click Shutdown to temporarily prevent a boot hybrid.

    Click next to the ESC key as soon as you press the power button to access the Start Menu.

    From there, you can access by pressing f11 recovery options or the menu of the Bios by pressing f10.

    Kind regards

    DP - K

  • How to enter the bios and virtualization of hardware (or software) turn off? On Hp 3400 mt series

    I have HP 3400 MT SERIES

    motherboard: Foxconn 2ABF 1.20
    Version of the BIOS FRIEND brand: 7.14

    How to get into bios and disable (hardware or software (I don't know)) virtualization that I have to open mac osx 10.7 in vmware

    Enter the BIOS and look in the Security section, as shown in the image below. If that's what you see, then activate the virtualization technology and it's done. You will be able to use Sun's VirtualBox and other virtualization programs later

    Best regards

    ERICO

  • Enter the form and run the query it

    Hello
    I already have a form and I created another form with a single piece of text named codebase (another point), and I want that when I enter the number and click on the button and it executes all the records in a main form with the same code that is I get in the sub form.is, it is possible that if its possible please guide me thanks in advance



    Sarah

    Please change the when-button-press-trigger again:

    begin
    default_value ( null, 'global.code );
    call_form ( 'sub_form', no_hide, no_replace, no_query_only );
    if
      :global.code is not null
    then
      go_block ( 'SHEELA' );
      set_block_property ( :system.cursor_block, onetime_where, 'ID = :global.code' );
      execute_query;
      if
        form_failure AND
        dbms_error_code < 0
      then
        display_error;
      end if;
    end if;
    erase ( 'global.code' );
    go_item ( :system.trigger_item );
    exception when others
    end;
    

    Published by: Magoo on 30.08.2009 20:46

  • I don't have the button 'export the layer to files. In any case to redownload the default scripts?

    Well I'm doing a flip book House in Photoshop CS5 and tries to save the images.

    I imported a video and converted into individual layers for each image.

    Now I'm trying to save it by going in "file > Scripts > layer export to files and there is no option in my Scripts tab at all."

    When I go on "file > Scripts all that are in there is just 'Browse'."

    Then when I click on 'Browse' it just takes me to the folder where I opened the PS file.

    Anyone has an idea on how I can get back the default scripts?

    I have even not all scripts to export layers, which is something I do often.

    Location depending on the version of the OS and Photoshop script must be in the Photoshop presets for example, Scripts Windows 7

    "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit) \Presets\Scripts\Export layers to Files.jsx"

    Do a search on your drive to "Export layers to Files.jsx" where the file has been moved.  Other wise get it back from your backup system or reinstall Photoshop on top of itself to recover the missing files.  You won't lose you Photoshop preferences and responsible actions etc. your setting is not overwritten.

  • Required radio buttons, in any case to remove the red outline once verified?

    I have a PDF I'm putting in LC who has couple dozen yes/no radio button questions. I have these pairs of radio button each required entry. My question is when a player fills the PDF file with 'fields to highlight' turned on, once they select Yes or no on one of the questions that the red border 'entry required' stay on unselected option.

    For example; Do you like PDF? [x] YES [] NO * required entry

    yesno.jpg

    However even if the 'Yes' option box is checked the opposite of 'no' radio button in the same group remains highlighted in red because it is a required entry. On the group selection has already been made, so my question is anyway to remove the red outline, after making a selection in this group of radio buttons.

    Thanks a ton!

    Hello

    The only real control for required fields highlight color is enable or disable. See example here: http://bit.ly/e3bTJF.

    Different versions of Acrobat/Reader deal with mandatory radio buttons. Acrobat v9 describes the group with a rectangle.

    If the objects are radio buttons, I would stick with circle shape by default users will be familiar with the form and feel that they can select one of the choices. The use of a square shape means that they may make more than one selection.

    Niall

    Ensure the dynamics

  • In any case to reduce the size of the mouse?

    Hello

    I'm editing a movie and trying to move the arrow of the mouse scroll bar. But there seems to be an invisible barrier that will not allow me to move the mouse over the scroll bar. It's all around the screen as well. I can't the mouse cursor within 0.5 cm of the edge of the screen.

    I assume that this is because the mouse is located in an area of 32 x 32 and once the area hit the edge of the screen it does not further. A way to reduce the size of the area or the mouse?

    Thank you

    Julian

    I had the same problem.

    Indeed, you have the mouse to hang slightly off the page.

    What you do is change the type of mouse that has the active "point" of the mouse on the right side instead of the left side of his little box. (He is one who is a pinch of hand to the right).

    Move the pointer is active where you want. Right click on the mouse, properties, replace it with a normal pointer... and voila...

    Don't forget if you tap this mouse again to move it, happen again all the way inside the screen, and you will have to redo this procedure little.

    : o).

  • No place to enter the password and user name

    Until now I was using Skype without any problem and I accept all the automatic updates. A few days earlier, when I tried to log into my account, I had attached the log in page icon. There is no place to enter my username and my password. I have uninstalled and installed Skype again but the problem remains the same. Please let me know, if the problem is in the software or on my computer and how do I solve it.

    Best regards

    Angelos Polylogidis

    * edited for privacy

    Everything working properly again!

    Thank you very much!!!

    You are great!

    Thanks again!

  • My speakers produce an ear piercing rumble sometimes that does not seem to be associated with a particular activity. Any ideas as to the source and the possible fix?

    It seems that the problem associated with my video/audio card that has been recently replaced due to the failure of a similar video/audio card earlier.

    (ViXS Pure TV-U4888 NTSC/ATSC Combo).

    Hi G_N_P_HL,

    1. did you other changes on the computer?

    2. when the problem occur?

    3. when and how does the ear piercing rumbling stops?

    First, make sure you don't have any programs or applications or in the course of performance when the problem occurs.

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you perform a clean boot and check.

    To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

    I hope this helps!

    Halima S - Microsoft technical support.

  • PDF form: allow the customer to enter the name and address in a printable letter

    I am creating a letter in which people can:

    -Download in PDF from my Web site

    -Open in an application PDF and enter their name and address

    -Print the letter with the name and address (that they registered above) inside.

    I'm assuming that InDesign CS6 is the best tool for this because it has orders to create interactive PDF Forms.

    I created a text box for the user to enter their name and address. I then went to window > interactive > buttons and form, clicked on the box and he attributed the following values:

    -Type: Textfield

    -Event: Onfocus (PDF)

    PDF options: Printable, necessary, Multi line, scrollable

    I then export my PDF making sure to put ' the interactive elements' "of appearance."

    When I click on the text box, on the Mac or Acrobat preview, nothing happens.

    What I am doing wrong?

    Thanks for any help.

    Use file > export > Interactive

  • Enter the details and downloadable content

    Hi guys

    You are looking for assistance.

    I'm building a site right now, and the client is looking for a visitor to register, so it can collect their contact details for email.

    In any case, they are looking for the visitor to click a button then then open a contact form where the visitor fills in their details. When they do this and click on submit it would then automatically download a free .pdf file to the visitor.

    I was wondering if this is possible in Muse?

    Thanks for your help

    Hi Roybhoy88,

    Yes, you can make this purchase using forms in MUSE.

    Steps to follow:

    1. Create a simple or detailed form in MUSE according to your need.
    2. "Go to your configuration, you will find an option"after"send"

    3. "after sending a" option will redirect your customer to the desired page, or to the pdf document you want.

    4. If you want to connect the PDF submit after button, click file > download files in download > select your pdf file.

    5. When you click drop down of "after sending" option you can see the downloaded pdf, your just need to select it.

    Thank you

    Prabhakar Kumar

  • I have used Firefox for about 8 years and yesterday lost my bookmarks toolbar. Any suggestions? Yet the bookmarks and it still seems in sight.

    I have used Firefox for about 8 years or since first of all, it has been developed and I love it! I especially love the personal bar and he used all these years without any problems. Yesterday, I lost somehow the bookmarks toolbar. It is still listed under view in the Menu. When I check, besides, that area expands a little and when I uncheck the box decreases a little. All my favorites are still there, but not the toolbar. I tried everything I know to try. I uninstalled and downloaded Firefox again and reinstalled. I have restarted my computer several times. I tried dragging the new bookmarks in the toolbar of the address of the site area. Nothing works. Does anyone have any suggestions as to what can be the cause and have a solution? I HATE that, without this toolbar. Thanks in advance!

    If the menu bar is hidden, then press the F10 key or hold down the Alt key to make the call of menu bar.

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible: "view > toolbars".

    • Open the Customize via "view > toolbars > customize.
    • Make sure the "Bookmarks Toolbar items" are on the personal bar
    • If the "Bookmarks Toolbar items" is not on the bookmarks toolbar, then FRY it in the toolbar palette in the window the bookmarks toolbar Customize
    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar set up
  • I enter the code and it sends me to new Firefox Sync

    I want to synchronize my desktop to my new laptop. I entered the code the two senses, computer laptop and desk laptop on the desktop, type, then the original Firefox Sync page returns to the top.
    Directions say "see where I can find the code to add a device to Sync Firefox? For more information', it is not found.
    Help!

    Hello, been using this article: How can I set up Sync on my computer?

    Basically you must first create a sync (with address email and password) to a computer account (let's say your desktop).

    Once you have done that, switch to your laptop, in options > sync click on "Set up firefox sync" & "I have an account" in the next step. then come back on your desktop and in options > sync click "associate a device" and enter the code 3 x 4 digits that appears on your laptop and confirms. That should do it...

Maybe you are looking for

  • Pavilion dv6-2174tx: administrator password

    Ask administrator passwordAfter 3 timesSystem disabled92340488Any help?

  • Satellite L650D - PSU questions

    Hello I have strange problems in my new apartment. The power supply does not work most of the time. In my old apartment, I've ever had and I still have problems.Are there known problems of interference with the power supply? The point is in my new ap

  • VXI-mxi-2 termination

    Hello I have a question about installing U35 for the VXI-MXI-2 card for termination.  By the manual (page 40), it is said that the first and the last MXIBus peripheral connects to the MXIbus... must end the MXIBus.  But the next paragraph, he said: V

  • Windows 7 VS brothers Control Centre analysis function - can not make it work...

    Hello I tried to solve this problem for a while and tried different methods of research on the net. I have recently upgraded to Windows 7. Installed control center of the brothers 3 for my MFC 7820N. It prints well, but has recently started having er

  • Setup live TV in Windows 7 Media Center hangs at «Downloading TV setup data»

    Original title: Windows 7 Media Center live TV Setup I have Windows 7 Home Premium on your desktop Gateway SX2840-01.  I have a HP usb TV tuner.  I'm unable to set up Media Center to receive television through the tuner.  Put in place hangs at the pa