In a hierarchical query, is it possible for a row to have more than one immediate ancestor?

Hi
Question:
In a hierarchical query, is it possible for a row to have more than one immediate ancestor?
Answer:
No
No?  Surely, it's yes?
Thanks,
Jason

As Frank pointed out already hierarhical most often means a tree (data structure) to deal with.
There must usually be just one boss (the root) in which case the answer is no.
Something to read: http://en.wikipedia.org/wiki/Tree_(data_structure)
You can find out Solomon spoke about a generalization therein.
Related to forum troubles:
If I login first thing after reaching forum, the behaviour is rather consistent - I'm allowed to post answers, otherwise ...
Regards
Etbin

Similar Messages

  • HT204053 for some reason i have more than one apple id, not sure how, must have set one up ages ago and forgot about it. can i delete one, or merge them? how do i know im not going to lose info if i delete one account?

    for some reason i have more than one apple id, not sure how, must have set one up ages ago and forgot about it. can i delete one, or merge them? how do i know im not going to lose info if i delete one account?

    You can neither merge or delete them. Pick one and stop using the other. If they both have purchases associated with them you will have to keep using both.

  • I have more than one copy of the same song in my iTunes. Some have the icloud symbol next to them and some do not. I need to clean this up but I am afraid to delete the songs for fear I will lose them.

    I have more than one copy of the same song in my iTunes. Some have the icloud symbol next to them and some do not. I need to clean this up but I am afraid to delete the songs for fear I will lose them. Please help! On top of that my Mac keeps telling me my start up disc is full and I am deleting stuff like crazy!

    Welcome to the  Discussion Forums
    It won't be a problem if you delete your extra copies.
    I don't download very much to my tv, I do sometimes if I'm in bed but usually I do it from itunes. However if you have not fully downloaded something to the tv it is possible to start the download from itunes as well, you have likely activated 'check for downloads fin itunes in some way, could be by opening itunes, selecting 'check or downloads' from the advanced menu or that you simply have automatically check for downloads set in your prefs and it has checked coincidentally.

  • Is it possible to have more than one Tax code per line item in Billing docu

    Is it possible to have more than one Tax code per line item in Billing document ?

    Hi,
    I have a different perspective there.
    If an item is applicable for two different taxes which are represented by two different tax condition types and these tax conditions are configured in the tax procedure, FTXP and so on....then these two condition records can have two different tax codes.
    We actually have this scenario in EU now, where EU talks about service tax in 2010 apart from the normal VAT. So now we have MWST and ZWST(Say)
    Now there are some materials which come with a service associated with it. So a service charge is also levied when the material is sold. So the material price will become applicable for VAT and the service charge becomes applicable for service tax. In this case, the tax classification of the customer will have two entries in sales orders updated in the fields VBAK-TAXK1 and VBAK-TAXK2 based on the sequence number of these condition types.
    Now based on different tax classification of the customer, we have 2 different tax codes representing different %of tax.
    Hope it helps

  • Query to retrieve the records which have more than one assignment_id

    Hello,
    I am trying to write a query to retrieve all the records from the table per_all_assignments_f which has more than one different assignment_id for each person_id. Below is the query i have written but this retrieves the records even if a person_id has duplicate assignment_id's but i need records which have more than one assignement_id with no duplicates for each person_id
    select assignment_id ,person_id, assignment_id
    From per_all_assignments_f
    having count(assignment_id) >1
    group by person_id, assignment_id
    Thank You.
    PK

    Maybe something like this?
    select *
    From   per_all_assignments_f f1
    where  exists (select 1
                   from   per_all_assignments_f f2
                   where  f2.person_id = f1.person_id
                   and    f2.assignment_id != f1.assignment_id
                  );Edited by: SomeoneElse on May 7, 2010 2:23 PM
    (you can add a DISTINCT to the outer query if you need to)

  • Single-row subquery returns more than one query

    Hi,
    i'm receiving the following error: Single-row subquery returns more than one query. I have no idea how I should debug this query. For all I know, the subqueries can only return 1 row... :S
    I only have Oracle SQL Developer to run/test my queries. I can run the query with ROWNUM < 5000, which gives no errors. If I run with ROWNUM > 5000 and ROWNUM < 6000 then the error appears....
    Here's the query:
    with
    DATES as
      (select (select min(REC_DATE) from STOCK) as FROM_DT, (select max(CHANGE_DATE) from STOCK_ADJUST) as TO_DT from DUAL),
    MONTHS as
      (select add_months(trunc(FROM_DT,'MM'),ROWNUM-1) as DT from DATES connect by ROWNUM <= months_between(TO_DT, FROM_DT)+1),
    CALCULATIONS as
      (select
        PNM.PNM_AUTO_KEY PNM_KEY,
        MONTHS.DT DT,
        NVL((select sum(stm.qty_rec) from stock stm WHERE STM.REC_DATE < MONTHS.DT AND STM.PNM_AUTO_KEY = PNM.PNM_AUTO_KEY GROUP BY pnm_auto_key),0) INCOMING,
        NVL((select sum(saj.qty_adj) from stock_adjust saj
                                    inner join stock stm on saj.stm_auto_key = stm.stm_auto_key
                                    inner join parts_master pnm on stm.pnm_auto_key = pnm.pnm_auto_key where SAJ.CHANGE_DATE < MONTHS.DT AND STM.PNM_AUTO_KEY = PNM.PNM_AUTO_KEY group by pnm_auto_key),0) OUTGOING
      from MONTHS, PARTS_MASTER PNM)
    SELECT
      ROWNUM, CALCULATIONS.PNM_KEY PNM_AUTO_KEY, CALCULATIONS.DT COUNT_DATE,CALCULATIONS.INCOMING QTY_RECEIVED, CALCULATIONS.OUTGOING QTY_USED, (CALCULATIONS.INCOMING + CALCULATIONS.OUTGOING) QTY_BALANCE
    FROM
      CALCULATIONS;Edited by: user574699 on Nov 17, 2008 2:10 AM code formatting

    I suppose (how can i be sure?) that the queries in question are:
    NVL((select sum(stm.qty_rec) from stock stm WHERE STM.REC_DATE < MONTHS.DT AND STM.PNM_AUTO_KEY = PNM.PNM_AUTO_KEY GROUP BY pnm_auto_key),0) INCOMINGand
        NVL((select sum(saj.qty_adj) from stock_adjust saj
                                    inner join stock stm on saj.stm_auto_key = stm.stm_auto_key
                                    inner join parts_master pnm on stm.pnm_auto_key = pnm.pnm_auto_key where SAJ.CHANGE_DATE < MONTHS.DT AND STM.PNM_AUTO_KEY = PNM.PNM_AUTO_KEY group by pnm_auto_key),0) OUTGOINGBoth queries have an aggregate function based on the grouping on PNM_AUTO_KEY. Both WHERE clauses also include the = PNM_AUTO_KEY statement. So how can these return more than 1 row?
    As I stated I cannot run the subqueries without the rest. The database contains over 200000 PNM_AUTO_KEYS, and I don't know which one is causing the problems....

  • How do i sign up for a new e-mail address @icloud or @me; and can I have more than one e-mail address?

    how do i sign up for a new e-mail address @icloud or @me; and can I have more than one e-mail address?

    Cessna007 wrote:
    how do i sign up for a new e-mail address @icloud or @me; and can I have more than one e-mail address?
    You create an @icloud.com address in the first place by signing into Settings>iCloud with your Apple ID and choosing an addres - you can only create an @icloud.com address, not @me.com.
    Then if you want further addresses on the same account you can add up to three 'email aliases' - these are additional addresses (not accounts) which deliver into the same inbox as the main account. (In fact it's a good idea to give out alias addresses, rather than the main address, because if they attract spam you can easily change them.) (New aliases can only be @icloud.com ones; @me.com addresses cannot now be created.)
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account or move it to another account.
    More information on aliases here: http://help.apple.com/icloud/#mm6b1a490a

  • If I have more than one I phone can I use the same apple ID for all off them?

    If I have more than one I phone can I use the same apple ID for all off them?

    Yes. You can have multiple iPhones on the same ID, up to the maximum 5 total devices. FaceTime will use the sim number for calls and you can configure each phone separately, or configure one and then back it up to iTunes and them restore the image to the others.

  • Hi, can anyone tell me if I can have more than one iTunes account on the same PC. I've just bought my wife an iPad2 and want to create a separate account for her. Can I do that on the same PC as mine?

    Hi, can anyone tell me if I can have more than one iTunes account on the same PC. I've just bought my wife an iPad2 and want to create a separate account for her. Can I do that on the same PC as mine? Thanks.

    I would advise that you not set up a second Apple ID. It's really not necessary - having two Apple IDs won't affect how iTunes works with your iPads - and will just complicate matters. Each iPad will be treated independently and can be set to sync only the items you want on that particular iPad. If you really want to keep the two iPads separate, set up different iTunes libraries and have only those items you want on the related iPad in that library, rather than a different Apple ID. If you plan not to use a computer and just download directly to the iPads, you can again choose what apps and content each iPad gets.
    But answering your specific question, you can have content from up to five iTunes Store accounts on any one computer or iPad. To create a new iTunes Store account, you'll need a different email address, and from there you just create the account the same way you did the first one.
    Regards.

  • Cannot have more than one Mobile item for a person

    Hi,
    I cannot have more than one mobile phone item for a person. In India some of them carry dual SIM card phones and both will be valid. In Lumia 800, I dont see an option to add two mobile items. I can do with a work around by choosing one mobile item with Windows Live Account and another with Google Account. But then that is not the right way to do it. If I need it both on same account, then I cannot do it.
    This feature is available in all the Android phones. Also i am facing another issue is that Lumia 800 does not sync any mobile item #2 of Google account, so I have to go to Google and manually add that phone number to my phone, which is painful.
    Hope Microsoft is listening.
    But I really like the way the facebook, SMS and all other chat are sync'ed in one place.
    Regards,
    -Srinivasan.

    The wierd thing is they have duplicates for Home/Work but not for Cell. I have the odd contact that has two cell phones. Really only two work arounds, use one of the other available types as a secondary cell number or what I do is create two contacts, one in Exchange and one on Live. Since my main account is Exchange, I put the secondary number in the Live contact, then on the phone I link the two together. This way I see two cell numbers for one contact.

  • Is there a way to have more than one Query view in the same workbook?

    Is there a way to have more than one Query view in the same workbook?
    BEx allows us to insert Queries into workbooks, but not saved views.
    I can open a view in excel & then save it as a workbook....but after that there is no way to add another view to the same excel. If I open a new view, it opens in a new Excel.

    Hi
        when u open some query in BEx analyser,u can save it as a query view as well as workbook.The difference is, workbook is if u work with the design mode which will be in the left side of ur screen and query view is wen u save after drill downing some char or key figures from a intial screen wen u execute query in BEx analyser

  • Why is my cursor taking holidays and choosing to not respond to my mouse or mice as I have more than one that I can  use and it refuses to respond for a period of time

    Why is my cursor taking holidays and choosing to not respond to my mouse or mice as I have more than one that I can  use and it refuses to respond for a period of time

    Hi 
    Yes you can delete the expired certificate which are showing  as it is not functional anymore and they remain as stale entries 
    You can use  below command
    Remove-ExchangeCertificate -Thumbprint "specify the value "
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • T code for materials have more than one inspection plan!!

    Dear Expert,
    what T-Code can I use to identify which materials have more than one inspection plan applied?
    Thanks in advance for your help!!!
    Have a nice day!!!

    Hi Sharan,
    As Ashok has guided you is perfect way to get the list.
    You further can do is in QP03 press the F4 help for the field "Group" and then set the search option as "Search Using Material".
    The same list you will get from MAPL.
    It will give you the material assignment to the task list group counter combination whether it will be single assignment or multiple it will give you the list. Then you should use the short/filter commands eithere on SAP screen or after downloading it in excel.
    Unfortunately there is no such STD list available that can give you only those who are having multiple assignment.
    Regards,
    Shyamal

  • Can we have more than One DC for the sales organization and Plant combo?

    Can we have more than One DC for the sales organization and Plant combination?
    If yes can you please site a practical example to clear the picture

    Hi
    First of all in SAP sales orgs are assigned to distribution channels and the combination of sales org and distribution channel which is called distribution chain is assigned to plant
    There is  no direct link  between sales org  and plant or distribution channel and plant
    So  sales org  and plant combination doesnot exists and
    it is only sales org and dist channel combination which is  called as distribution chain only exists
    Nowhere in SAP we are assigning sales org to plant
    It is because sales org alone doesnot make sense and its combination with dist channel only makes sense
    because sales org is a selling org and the distribution channel is the route to sell and this combination has only to pick the material from plant to process sales to customers
    The relation between sales org and distribution channels is many to many and also vice versa
    Multiple sales orgs can be assigned to one distribution channel and
    Multiple distribution channels  can be assigned to one sales org
    Similarly the relation ship between Distribution chain (sales org+dist channel) to plant is also many to many and vice versa
    Similarly plants from other company codes can also be assigned to Distribution chain to facilitate intercompany processes
    In whatever way look at it the multiple distribution channels can be fit anywhere
    Regards
    Raja

  • When I have more than one tab open, if I click on a picture to view, when the window opens to view the photo, firefox crashes. I also notice while looking at a web page, the pinned tabs to the left of the bar are constantly reloading for some reason.

    When I have more than one tab open, if I click on a picture to view/enlarge, say eBay, and I click on the items photo to enlarge it, when the window opens to view the photo, Firefox crashes. I also notice while looking at a web page, the pinned tabs to the left of the bar are constantly reloading for some reason, The green circle starts going round and round for no reason even though the tab is not being viewed. Both problems seem to have started after the last software update.

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * https://support.mozilla.org/kb/Firefox+crashes

Maybe you are looking for