How to return order status and the status of the next order

Greetings,
I cannot use the LEAD function.
How do i simulate this in Oracle 8i PE.
I have a table of orders and for each grouping of orders i need the current status and the next status.
Any suggestions?
Thanks,
Craig.

Something like:
SELECT i.order_id, i.item, i.status
             MAX(i2.status) next_status
FROM incidents i, incidents i2
WHERE i.order_id = i2.order_id(+)
  AND i.order_id < i2.order+id (+)
GROUP BY i.order_id, i.item, i.status
ORDER BY i.order_id
Greetings,
I cannot use the LEAD function.
How do i simulate this in Oracle 8i PE.
I have a table of orders and for each grouping of orders i need the current status and the next status.
Any suggestions?
Thanks,
Craig.

Similar Messages

  • HT2534 how do i use itunes and the app store without any credit card or gift card?

    i just got my iphone and i used to use itunes all the time before when downloading all songs were completly free, how do i use itunes and the app store to find free stuff to download without having to add a credit card or gift card with my account?

    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
      http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • How to install .exe applications and the java on m...

    hi ! sorry if this has already been discussed but i wanted to know ~~~ how to install .exe applications and the java on my n9 ~~~ ... because i wanted to use plenty of other apps which are not supported  but these 2 would help fix the issue

    Is it stil not possible to install java applications on N9?
    Files containing JAD and JAR-ending in the file name.
    I am not familiar with Nokia N9 so I ask even if I suppose that JAR and JAD files are not able to install on a Nokia N9.
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

  • TS2776 How to switch wifi on and the wifi address N/A?

    How to switch wifi on and the wifi address N/A iPhone 4s?

    LabVIEW 2013 has inbuilt Plot Visible selection in Plot Legand in Waveform Graph

  • How to have a page in landscape and the next in portrait

    i am unable to figure out how to have in a single document a page in landscape and the next one in portrait.
    can someone advise on how to do it? or maybe this option is not available in pages08.
    at least i have to be able to insert a chart in lanscape even if the document is in portrait and i am unable to do it as well

    hadial,
    To fill in the blanks: start your document in portrait mode; on page 2 select all the elements, then click on the Metrics inspector. Use the rotation wheel to rotate this elements 90 degrees.
    -Dennis

  • I have a ipod 4 and I just bought a iphone4 how do i sync apps and the progress for those apps?

    I have a ipod 4 and I just bought a iphone4 how do i sync apps and the progress for those apps?

    Welcome to Apple Support Communities
    You have an Early 2008 Mac Pro. You have the specs that your Mac Pro needs for more memory > https://support.apple.com/kb/HT4433#4 As you can read, that computer should have come with 2 GB of memory.
    You can buy memory at OWC or Crucial > http://eshop.macsales.com/shop/memory/Mac-Pro-Memory#800-memory Those sell compatible memory with all Macs. You can use another memory, but you can be sure that the memory that these brands sell are compatible

  • How do you contact Goldengirl and the other customer relation person?

    What is going on?  How do you contact Goldengirl and the other customer relations person?
    What do you do?  Post here and hope they respond?  That's all I can figure is what must be the way? Wow you would think there would be an email for them or a link or something. Am I missing something?Customer relations w no direct way to contact customer relations?  What's wrong w that picture?

    First thing is I want to complain about this person here:  I had some questions on a product and called up and got Charly 1-20295539207.  He was horribly incompetent. He took 30 minutes just to, "get my information" which only consisted of just email and name.  How can it take 30 minutes for that?????  But trust me, Charlie absolutely makes it easy to waste that much time and still not get an answer to your question.  So after he spent 30 minutes gathering my, "info" (i.e. name and email) he told me he could not help me and to call back even though I told him 3 times up-front what I was calling about. All of the Sony reps are the absolute worst and they all have the same idiosyncracies, making you repeat your issue over and over and over and over being one of them. Then, after you tell them what the issue is - 4-5 times, they say, "How can I help you"?????????  WHAT???? I JUST TOLD YOU 4-5 TIMES AND THEN THEY ASK SOME OBNOXIOUS AGGRAVATING QUESTION LIKE THAT?   You have to be kidding me?  I am not making any of this up. It's absolutely abusurd and criminal how the sony reps are.   So I asked him, IF YOU COULDN'T HELP ME WHY DIDN'T YOU TELL ME THAT AT THE START AND WHY DID YOU WASTE 30 MINUTES OF MY TIME FOR NOTHING GATHERING, "ALL" OF MY INFO?????  HE SAT THERE IN SILENCE AND SAID NOTHING.  that is the other thing these aweful reps do. Thay all do it.  They sit in silence and say nothing. THEN you have to ask them over and over and over again the same question and they never will give you an answer but will then say, "HOW MAY I HELP YOU"!!!!!!  It's insane what they put customers through. It's like talking to low iq people.   It';s clear that sony only hires people who are inferiour as regards tech knowledge, customer service knowledge, and who don't know how to talk on the telephone.  So I was 45 minutes total and after 30 minutes he told me he could not help me even though I told him in the first minute why I was calling (despite the fact I had to repeat myself over and over wasting lots of my valuable time). so why did he keep me on the phone allthat time if he could not help me? Why didn't he tell me at the start? How do I complain about him? IS there some type of corporate escalation department? IN addiiton I never got my problem solved. I need help w the media go that has screwed up all of my pictures.

  • TS2771 My ipod touch 4g doesn't work i didnt have charger at first and when my cousins came over i charged it with his it was full and the next minute it was empty. it gave me the warning sign. After tht it shut off and i ot my charger today and it wont t

    My ipod touch 4g doesn't work i didnt have charger at first and when my cousins came over i charged it with his it was full and the next minute it was empty. it gave me the warning sign. After tht it shut off and i ot my charger today and it wont turn on it also gave me a blue light which was kinda like an electric shock. Someone help plz

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • HT3275 EMERGENCY!!!!!!!!  NEED TO RETREIVE AN ACCIDENTALLY DELETED BACKUP! BACK UP FROM MY TIME MACHINE DRIVE????  In other words, I emptied out a folder on my main MAC to make space and the next subsequent backup backed up the EMPTY FOLDER and then delet

    EMERGENCY!!!!!!!!
    IS THERE ANY WAY TO RETREIVE AN ACCIDENTALLY DELETED BACK UP FROM MY TIME MACHINE DRIVE????
    In other words, I emptied out a folder on my main MAC to make space and the next subsequent backup backed up the EMPTY FOLDER and then deleted the "old backup" that actually contained the contents of the very important folder.
    Now only the emptied folder exists on my MAC and in the two backups on my Time machine backup drive.
    This was clearly a big mistake on my part not realizing that the "old backup" being deleted by Time Machine would include backed up files that I had no intention of getting rid of....
    What can I do now?
    Is DATA RETREIVAL even an option?
    I am sure that the Folder of files that I need are on the most recently deleted "OLD BACKUP" but how do I get to this, if even possible?????
    Super desperate situation here...
    M

    inna-help-me wrote:
    Is DATA RETREIVAL even an option?
    It may be possible to recover some of the data, if it hasn't been overwritten, but it won't be cheap or easy. 
    You've posted in the Time Capsule forum, but you mention a "backup drive."  If your backups are on a Time Capsule's internal HD, instead of an external HD, it's even worse.
    See Data Recovery.
    Good luck.

  • I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1"

    I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1" How do I do this?

    Hi H4S,
    Click at the end of the Tile page.
    Menu > Insert > Section Break.
    Click in the second Section. Insert a page number in the Header or Footer.
    Inspector > Layout > Section:
    Regards,
    Ian.

  • FCP X deleted about 2/3 of events to a project and the project. I uploaded the project to vimeo from FCP X, and the next day when I tried to use FCPX, they were gone, the events are gone from fcp and my ext hd, the project is still on the ext hd.

    FCP X deleted about 2/3 of events to a project and the project. I uploaded the project to vimeo from FCP X, and the next day when I tried to use FCPX, they were gone, the events are gone from fcp and my ext hd, the project is still on the ext hd, but it won't recognize in FCP X even though my ext HD shows in the project tab. anybody any clue how to bring it back?

    Thanks for the reply Andy.
    No, I don't have identical projects on a second drive, only saving to the movies folder on internal HD. The files and media save there fine, but fcp doesn't seem to recognise them the next day, just opens with one new untitled event and no projects.
    I have tried saving to en external HD tonight and will see if the problem happens again with this set up when I restart tomorrow.
    But I should be able to save to internal HD, so something is going wrong...
    Peter

  • I set iCloud up last week and the next day when out in the field I could not get Outlook to open up.  I want to change my settings so I can get mail at home or in the field

    I set iCloud up last week and the next day when out in the field I could not get Outlook to open up.  I want to change my settings so I can get mail at home or in the field, not just when i'm at home.  I have a PC and fios internet with Verizon at home.  I have a Sprint air card in the field or access an available wifi.  I want to change my settings to allow for receiving email in the field.  What's the point of an air card and icloud for backup fi it doesn't work in the field for some odd reason?

    Apple - Support - Mail Setup Assistant

  • In develop "mode" and I can't locate my "Basic" slider that opens up my "Treatment" sliders. There's not even a drop down arrow to Minimize and open. I was working in it and the next moment it was gone. I'm in Lr 5 using a trackpad. Seems like the issue c

    In develop "mode" and I can't locate my "Basic" slider that opens up my "Treatment" sliders. There's not even a drop down arrow to Minimize and open. I was working in it and the next moment it was gone. I'm in Lr 5 using a trackpad. Seems like the issue came up while using my trackpad. Any thoughts?

    In the Develop Module, you right-click on one of the other Panel Headers (for example, Tone Curve) and then place a check next to Basic

  • Can you lose photos on iphone4 and the next day the start to come back

    CAN YOU LOSE PHOTOS ON IPHONE 4 AND THE NEXT DAY THEY START TO RE DOWNLOAD TO THE PHONE. MY WIFE SAID SHE HAS 9 OF 190 PHOTOS BACK.

    Reset the page zoom on pages that cause problems: '''View > Zoom > Reset''' (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages
    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • I just recently downloaded the free trial of LIghtroom 5. One day i was using it and it was on my desktop and the next day it was gone, almost like it crashed and will not let me re-install. Please help

    I just recently downloaded the free trial of LIghtroom 5. One day i was using it and it was on my desktop and the next day it was gone, almost like it crashed and will not let me re-install. Please help

    Scrappy1 what do you mean exactly by doing a scan?
    Under Windows 7 you will want to use the Programs and Features Control Panel to remove your installation.  I would recommend verifying that Photoshop Lightroom is removed from the list of installed applications.

Maybe you are looking for

  • HT4718 I recently upgrade my OS and now my MacBook Pro will not boot up

    I recently upgrade my OS and now my MacBook Pro will not boot up

  • German Umlauts

    The chart does not display German umlauts. Only English characters are displayed correctly. Is there a codepage problem?

  • Sound effects are louder than voices on movies

    When streaming a movie from my macbook pro to my apple tv (2nd gen) the background sound is always louder than the voice dialogue.  I don't know how to adjust it or change it.  It is very frustrating to hear the music and clicking and clanging so muc

  • Memory full for Internal table

    Hi all, I have an intenal table where I need to pass millions of records. I am getting short dump due to the memory full. The message is 'the maximum no of bytes passed is exceeded'. To avoid this, I have used the Hash table, but still got the same e

  • Sap hr apprenticeship

    Hello I have completed sap hr course and would like to know if there are any apprenticeship job available in sap. Kindly reply Regards