What would cause DENSE_RANK  not to take care of numerical "ties"?

Hi,
We're using Oracle 11.1.
I'm using an Analytic function to rank values in each "partition by" section.
Because there are numerical ties I'm using DENSE_RANK because it's supposed to take care of ties.
It's not.
The clause is simply
DENSE_RANK() OVER (PARTITION BY metric ORDER BY AEROBIC_EXERCISE)It's just data coming from a sub query where you can see what the order should be and it's not. Has anyone ever seen this before?
What am I leaving out?
Thanks.

Not nearly enough information. Post sample data, the result of your query and why you think it is wrong.
what are you soing differently than:
SQL> with t as (
  2    select 1 cat, 1 val from dual union all
  3    select 1, 1 from dual union all
  4    select 1, 3 from dual union all
  5    select 2, 1 from dual union all
  6    select 2, 2 from dual union all
  7    select 2, 2 from dual)
  8  select cat, val, dense_rank() over(partition by cat order by val) rnk
  9  from t;
       CAT        VAL        RNK
         1          1          1
         1          1          1
         1          3          2
         2          1          1
         2          2          2
         2          2          2and is my results what you would expect given the sampel data?
John

Similar Messages

  • What would cause the flash not to fire?

    What would cause 580ex not to fire?

    Can you be more specific?
    When you power it on, you should get a red Pilot light when it's ready to fire.  If you press the light (it's a button) it should test-fire the flash.  That will confirm the flash actually works.
    You can tell the camera to disable the flash... this is useful when you just want to use the flash's focus-assist beam to help the camera lock focus, but do not actually want the flash to fire.  Check your camera menu... probably under "External Speedlite Control" -> "Flash Firing" and check that it is set to "Enable".
    Tim Campbell
    5D II, 5D III, 60Da

  • DPS: pinch and zoom function not working on all pages within folio (v30 tools using the pdf setting). What would cause some pages to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer?

    What would cause some pages in the same folio to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer that's not allowing the pinch and zoom to work?
    I do have a "go to state" button that enlarges graphic to full page on the page. Could this be cancelling the pinch and zoom functionality? Would a box with text wrap ON affect the ability to pich and zoom? What else may be causing this?

    What would cause some pages in the same folio to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer that's not allowing the pinch and zoom to work?
    I do have a "go to state" button that enlarges graphic to full page on the page. Could this be cancelling the pinch and zoom functionality? Would a box with text wrap ON affect the ability to pich and zoom? What else may be causing this?

  • I do  not see a Photo streaming icon when I open iCloud.  What would cause that?

    I do  not see a Photo streaming icon when I open iCloud.  What would cause that?

    The cloud icon means you've already downloaded those Apps in the past and they are in your purchased history.
    For payed apps this would allow you to redownload them without having to pay again.
    Just tap on the cloud icon to start the download.

  • My I phone 4 will boot me out of a web site and there are time when it just shuts down on its own,also it take forever to load my game. What would cause these issues?

    My I phone 4 will take forever to load a game, boot me out of a web site and sometimes shut down on its own. What would cause these issues

    Hello Jake69529,
    The following article details some useful troulbeshooting that can help get your iPhone's apps stabilized.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/TS1702
    Cheers,
    Allen

  • WHat would cause this error: File not found

    Hi,
    When I want to preview my page in the browser, I get a 'Not
    Found' message: The requested URL /navius2006nl/www/cases.asp was
    not found on this server.
    What would cause that to happen. The browser displays pure
    thml pages just fine.
    Thanks for any help you might be able to offer.
    Rogier
    Rotterdam, The Netherlands

    Are you using frames? Do you have a webserver installed? Have
    you defined
    your testing server?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "RogierBos" <[email protected]> wrote in
    message
    news:f5e866$jnm$[email protected]..
    > Hi,
    > When I want to preview my page in the browser, I get a
    'Not Found'
    > message:
    > The requested URL /navius2006nl/www/cases.asp was not
    found on this
    > server.
    >
    > What would cause that to happen. The browser displays
    pure thml pages just
    > fine.
    >
    > Thanks for any help you might be able to offer.
    >
    > Rogier
    > Rotterdam, The Netherlands
    >
    >

  • What would cause my cd player to not play audio?

    what would cause my cd player to not play audio? when cd inserted into the computer it pauses for a few seconds &then ejects cd.

    theredness wrote:
    what would cause my cd player to not play audio?
    Your CD player? Or the CD drive in your MacBook Pro?
    Assuming the latter, several things. Begin with
    Intel-based Macs: Resetting the System Management Controller (SMC)
    <http://support.apple.com/kb/HT3964>

  • What would cause an IMAC to recognize one printer on a wireless network and not recognize another printer?

    What would cause an IMAC to recognize one printer on a wireless network and not another printer?  I have a smaller HP and a an HP 4600.  The computer recognizes the smaller printer but not the bigger printer even though the printer in Settings and shows up on Settings, but I cannot print to it. 

    Do you have a printer driver installed for it? When you open the Print dialog have you selected it from the Printer dropdown menu at the top of the dialog?
    Do you know that the printer is working and is properly installed (Added?)

  • What would cause iphone to not turn on?

    Recently my iphone 5 started freezing up when left charging overnight. I must hold home and power button for ten seconds to wake up. What would cause this?

    Standard troubleshooting...
    Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider if, it comes up. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    Remove all apps from Recently Used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Tap and hold any icon in this list until they wiggle
    - Press the red (-) to delete all apps from this list.
    - Press the home button twice when done.
    If still a problem restore with your backup.
    If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    If still a problem, it's likely a hardware issue.

  • What would cause I Pad 2 to simply not respond?Checked cords, cords work on I Phone

    What would cause I Pad 2 to 'die'? Checked cords all work on other devices.

    Hello, loisfromclayton!
    The following articles may help get your iPad back up and running. I'll post the relevant parts here, as well.
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    If iPad won't turn on, or the display stops responding
    Follow these steps, testing after each:
    Reset iPad. Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears.
    If iPad still won't respond after you restore it
    Follow these steps, testing after each:
    If you receive an alert in iTunes while restoring your iPad, refer to this article for instructions on how to resolve common issues with updating and restoring.
    If you cannot restore your iPad in iTunes, or if iTunes does not recognize the device, refer to this article for instructions on restoring using recovery mode.
    For information on how to restore your iPad, see the following:
    iTunes: Restoring iOS software
    http://support.apple.com/kb/ht1414
    Best regards,
    Allen

  • What would cause the original I Pad shut itself off while playing games or online? it is not a battery issue or time issue. When I turn it back on it goes to were I was  when I was online ,but have to start games over.

    What would cause the original I Pad shut itself off while playing games or online? it is not a battery issue or time issue. When I turn it back on it goes to were I was  when I was online ,but have to start games over.

    The original iPad has a slow processor and only 256 MB of memory so it often runs into low-memory failures.
    Double click the home button and dismiss all of the recents - I do that weekly.
    Then reboot by holding both the power and home buttons until the apple logo appears, ignore the red slider - I also do that weekly.
    Both seem to help to reduce the low-memory faults that occur.

  • What would cause adobe connect to freeze in a session for users, while the moderator session did not

    what would cause adobe connect to freeze in a session for users, while the moderator session did not

    HI rogerstam1
    Is screen being shared at that time when addin freezes?
    if yes if this coems again could you just stop screen share and try it again.
    hope this helps.

  • When trying to send a photo via email, I am prompted to setup an email account even though email is already setup.  What would cause this?

    when trying to send a photo via email, I am prompted to setup an email account even though email is already setup.  What would cause this?  Better yet, how do I fix it?

    I have checked this on my device.  I see a Default account under Messages created outside of Mail will be sent from the default account.  There is an account selected, though it does not show my exchnage account.  If it is only an exchange accout, can that not be used for this?

  • What would cause my Game Center app to stop working ?

    What would cause my Game Center app to stop working &amp; other apps to just shut off .

    I've attached a stripped down version of the subVI which handles the UDP connection.
    In the Init and Disconnect cases, I've had to remove the startup and shutdown commands as that's protected info, but they are just fixed U8 arrays.  The subVI does not have any incoming errors when executed by itself or as part of the main VI nor does the Init case generate any errors.  Also, the UDP Open and UDP Write functions process a nonzero Connection ID.
    Let's see, what else?  The Init and Disconnect cases operates just once at the beginning and end, as you might expect.  While the Read case operating at 1x/sec during normal operation.
    Let me know if there's any more insight I can provide.
    Attachments:
    UDP_Connection Manager.vi ‏17 KB

  • What would cause this battery problem?

    There is a macbook air I am considering buying if the price is right and it is said to have this problem "The internal battery says that it is charging but when the AC power adapter is unplugged the unit shuts down and will not power back on until the AC power adapter is plugged back in." Any idea what would cause this to happen? Thanks!

    Hi Ty,
    It could be a couple of different things, the first assumption is that it's the battery. If you go to System Profiler and go under the power menu selection does it recognize the battery? What are the statistics on that battery?
    It's also possible that the cable which connects the battery to the logic board is the point of failure. Due to the way that the MBA is manufacturer you'll be unable to proceed with "troubleshooting" this and the machine will require service.
    You can however, try resetting the SMC and see if that changes anything.
    http://support.apple.com/kb/HT1411

Maybe you are looking for

  • To Complete the task without taking complete action in BPM worklist.

    In my project ,there is one requirement that to complete the task without taking complete action in BPM worklist. So I am trying to acheive this using JAva API of BPM worklist. For that I have followed the approach given in below link http://technolo

  • Erro in CAF Application(Web Dynpro UI)

    Hi All, While  I am creating a CAF UI using Web Dynpro I am getting the following run time error: "It can't be determined from the exception chain, which class loader failed to load the above class. But at least the class loader of the current applic

  • What are the Limitations of the Siebel Workflows ?

    Hello There, I'm doing a research about the limitations of Siebel workflows if you have any Ideas please share. Thanks

  • SD Credit Mgmt: RVKRED06 Function

    Program RVKRED06 was executed in the background (Check blocked credit documents). The Overall status of credit checks (VBUK-CMGST) was changed in a standard order from 'B' (Credit check was executed, document not OK) to 'A' (Credit check was executed

  • Font used in the Boogie Light theme?

    Hi can anyone tell me which font Apple uses for its "boogie light" theme? I assume I cannot modify it, so I want the rest of a production to be done in the same font.