Full list out of compressed information

Hello,
I'm looking for an idea to get a full list out of compressed information.
The data looks like
rank count value
1 36 100
2 12 50
What I would like to get via sql is something like
rank count value
1 1 100
2 1 100
36 1 100
37 1 50
38 1 50
48 1 50
Someone an idea, how to do it?
Regards
Carsten

Using Maxims Select and replacing dual with the all_objects table
SQL> with t as (
  2   select 1 rank#,36 count#,100 value from dual  union all
  3   select 2,12,50 from dual
  4  )
  5  -- End test data
  6  , t1 as (
  7  select rownum rn
  8  from all_objects
  9  where rownum <=(select sum (count#) from t)
10  )
11  select row_number() over(order by rank#,rn) rank,1 count,value
12  from t,  t1
13  where t1.rn<=t.count#
14  order by rank#,rn;
      RANK      COUNT      VALUE
         1          1        100
         2          1        100
         3          1        100
         4          1        100
         5          1        100
         6          1        100
         7          1        100
         8          1        100
         9          1        100
        10          1        100
        11          1        100
      RANK      COUNT      VALUE
        12          1        100
        13          1        100
        14          1        100
        15          1        100
        16          1        100
        17          1        100
        18          1        100
        19          1        100
        20          1        100
        21          1        100
        22          1        100
      RANK      COUNT      VALUE
        23          1        100
        24          1        100
        25          1        100
        26          1        100
        27          1        100
        28          1        100
        29          1        100
        30          1        100
        31          1        100
        32          1        100
        33          1        100
      RANK      COUNT      VALUE
        34          1        100
        35          1        100
        36          1        100
        37          1         50
        38          1         50
        39          1         50
        40          1         50
        41          1         50
        42          1         50
        43          1         50
        44          1         50
      RANK      COUNT      VALUE
        45          1         50
        46          1         50
        47          1         50
        48          1         50
48 rows selected.
SQL>

Similar Messages

  • HT204266 Why is it that after upgrading to IOS 6, I could not retreive my full list of my purchased applications & ganes list in the app store now !!!!

    Why is it that after upgrading to IOS 6, I could not retreive my full list of my purchased applications &amp; ganes list in the app store now !!!!
    Whenever I try to tab my purchased in the update feature of app store; not only does the long list of my previous purchases do not showed up like in IOS 5 do but after a while it just prompt out to the main home page. I tried this for both my 3GS and 4GS too and both have the same problem. APPLE INC please rectify this serious problem as soon as possible.

    Did you read your other posted question, that has been answered.

  • Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?

    Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?  Or do I have to click each one and write down the image name by hand?
    Thanks!
    LJ

    Alternatively use a browser:
    Use the Firefox Web Developer Toolbar
    https://addons.mozilla.org/en-US/firefox/addon/60
    Images > View Image Information
    or the List All Images Add On for Firefox
    https://addons.mozilla.org/en-US/firefox/addon/3688
    or the Web Developer tools in IE8 (or earlier), F12 > Image > View Image Report

  • In F-53 system listing out wrong open item

    Hi Guru's,
    while making outgoing payment in F-53 system listing out 'A001' & 'B001' company code open item rather than 'A001' company code open item. In the selection screen we are giving only company code 'A001'.
    This vendor has been extended for both the company code.
    Could you please help me to bring selection screen company code open item only.
    with regards,
    Jammy

    in f-53 after giving all the required information in document header bank account number and amount click on process open items without giving the vendor code on the main screen of f-53
    there check which company code is selected and then give the vendor code and co code and process again
    and let me know if you are facing the same problem again
    Also check the vendor open items for each co code in FBL1N

  • Report program to list out characteristics having dependency type procedure

    Hi folks,
    My requirement is to generate a report, in which i have to list out characteristics having dependecy type procedure(7).
    The tables are CABN(characteristic),CUOB(Assignment of Object to Dependency),CUKB(Administrative Information for Dependency Maintenance).By linking these tables we can get the result.
    Pls provide the code to achieve the above task.It's urgent.We need to write a select query for that.
    Regards,
    Ramesh

    You could use the QuickViewer to create your query, no programming involved.  It sounds like you know the tables to use and should be able to join them.
    Just a word of caution, Urgent is not a good word to use in a thread.  You may want to refer to the new Strict Guidlines: /people/michael.schwandt/blog/2008/06/23/moving-to-strict-rules-to-improve-quality-and-control

  • To List out BAPI in a system

    Hi All,
    Is there any way to list out all the activated BAPI's in a system thro' a funtion module or report?
    Rgds,
    J.Jayanthi

    Hi,
    Here you are -
    DATA : LANGUAGE TYPE SYLANGU VALUE 'EN',
           API_METHODS TYPE SWOTMETHOD OCCURS 0.
    CALL FUNCTION 'SWO_QUERY_API_METHODS'
         EXPORTING
              LANGUAGE            = LANGUAGE
         TABLES
              API_METHODS         = API_METHODS
         EXCEPTIONS
              OBJTYPE_NOT_FOUND   = 1
              METHOD_NOT_FOUND    = 2
              METHOD_NOT_API      = 3
              METHOD_NOT_RELEASED = 4
              PARAMETER_ERROR     = 5
              OTHERS              = 6.
    The tabls parameter will give you the information you need. First test it in SE37 and see if you are going to get what you want.
    And reward points to the answers and close the thread.
    Regards,
    Anand Mandalika.

  • Do we have any method to list out the servers that are critical and the component/monitor causing the server to turn into critical state in SCOM 2012

    Hello Team,
    We are monitoring 1000 servers in our environment and out of 1000 servers, we have approximately 100 servers showing as critical state on the server state view.
    We can get the critical servers list from SCOM console, but we are not able to get the information about the component responsible for the server to be critical. Using Health explorer to find the root cause for 100 servers is really impossible and time consuming.
    Do we have any method to list out the servers that are critical and the component/monitor causing the server to turn into critical state?
    Advance thanks for your help.
    Regards,
    Dinesh
    Thanks &amp; Regards, Dinesh

    Hi,
    As far as I know alerts with severity as criticla may cause windows computer in a critical state, we can try below code to find all critical alerts:
    get-alert -criteria 'ResolutionState=0 AND Severity=2' | select Name,ResolutionState,TimeRaised | export-csv c:\Alerts.txt
    Criteria Syntax http://msdn.microsoft.com/en-us/library/bb437603.aspx
    Values to use.
    Resolution State 
    Severity Values for Alerts
    0       =   New
    0 = INFORMATIONAL
    255   =   Closed
    1 = WARNING
    2 = CRITICAL
    Hope this helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • Keyboard Shortcuts: where can I find a full list?

    I'm a brand-new PC-to-Mac convert. Loving OS X Leopard, but I'd like to print out a full list of keyboard shortcuts. I can't seem to find it anywhere online or on the system. Can someone direct me to a full list of shortcuts? Apple.com seems to have lists for various applications (iMovie, etc) but not for the operating system itself... Thanks,
    Senor_Droolcup

    @Bob:
    Nice link. Thank you.
    @Senor_Droolcup:
    Welcome to Apple Discussions.
    In addition to the overview Bob has pointed to, I'm sure you have already noticed that every menu also displays the shortcuts for its options.
    floba

  • Where can I find a full list of the Logic Pro X Software Instruments?

    Where can I find a full list of the Logic Pro X Software Instruments (the ones you can play with a MIDI keyboard)?  From what I've read so far, there are a number of new software instruments in the LPX additional content (as well as loops, etc, but I'm looking for the software instruments).  I cannot seem to find this information in the product pages or documentation, though.
    With older versions, I was able to find a list of all of the software instruments that came with the software, and all of the software instruments that came with the Jam Packs.  Is that list available from Apple, or does anyone have one from somewhere else?

    Hi Guys,
    I exported my folders from a clean LPX install, does this give you what you want?
    First one is the Patch instruments:
    http://www.supportat.net/forumfiles/LPX_PatchInstruments.txt
    This one is the sampler Instruments:
    http://www.supportat.net/forumfiles/LPX_SamplerInstruments.txt
    This is all the files:
    http://www.supportat.net/forumfiles/LPX_AllFolders.txt

  • Screen shots and full list of 2.0 features

    I just learned on internal board that you can now do screen shots of your window (hit power and home button at the same time - clip is saved in camera roll).
    Is there a full list somewhere of all new features? This was news to me and is a very cool feature. I'm wondering what else I might be missing.

    read this
    http://www.theiphoneblog.com/2008/07/14/review-iphone-20-software/
    it should help out alot

  • This appears on my screen when I try to download InDesign CC. "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms." I've tried with 2 different computers (Wind&Mac)

    This appears on my screen when I try to download InDesign CC. "You are running an operating system that InDesign no longer supports. Refer to the system requirements for a full list of supported platforms." I've tried with 2 different computers (Wind&Mac)

    Bastaría con que indicases el sistema operativo en cda uno de esas computadoras para saber si son compatibles:
    Microsoft Windows 7 with Service Pack 1, Windows 8, or Windows 8.1 (ID CC 2014 y ID CC)
    Mac OS X v10.7, v10.8, or v10.9 (10.6.8 para la CC anterior)
    Si utilizan un sistema operativo anterior, you are "out of luck".
    http://helpx.adobe.com/indesign/system-requirements.html#InDesign CC system requirements
    Marca por favor tu pregunta como contestada para facilitar su consulta  a otoros usuarios. Gracias.

  • Is there any way to find out the dependency information for column of view?

    Does Oracle provide some view / table / pl/sql pkgs to find out the dependency information for column of view ?
    For example, there are two table mytable1 (col1 varchar2(10), col2 date) & mytable2 (col1 varchar2(10), qty int), and there is one view myView as
    select mytable1.col1, col2, qty from mytable1 inner join mytable2 on mytable1.col1 = mytable2.col
    Can I get some information such as myView.col1 is come from mytable1.col, myView.col2 is come from mytable1.col2, myView.qty is come from mytable2.qty
    ?

    I can get the information about the columns list in table/view from ALL_TAB_COLUMNS table, but I wish to know the column in the view is come from which original table's column.
    Is there any way to find it out from Oracle meta data / through any PL/SQL packages ?

  • Is there any report in SCCM 2012 to list out all the physcial machine and all the virtual machine?

    Is there any report in SCCM 2012 to list out all the physcial machine and all the
    virtual machine?
    and list all VMs for each physical server.

    Hi,
    there is no such builtin report but you can easily crete one as all information is in the database.
    http://www.scconfigmgr.com/2014/01/24/create-custom-reports-for-configmgr-2012-with-report-builder/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Where does NI hide the full list of bug fixes? and why is it hidden from users?

    So I get an enticing email begging me to try the august 2009 release of LabVIEW. Ok. I'm twitching with anticipation. I'd like to know if several specific bugs are fixed in a new release of a specific module, however. Otherwise I'd prefer to install it some other time when I'm not busy writing dlls to compensate for the bugs that I hope are now fixed. I've been clicking in circles on the NI website trying to find complete information regarding changes and as is entirely far too typical of NI, I only have access to an anemic, watered down version of what should be proper documentation.
    "LabVIEW Readme—Use this file to learn
    important last-minute information about LabVIEW, including installation
    and upgrade issues, compatibility issues, a partial list of bugs fixed
    in the current version of LabVIEW... bla bla bla"
    Where is the full list of bug fixes? I don't care if it isn't spellchecked or if it's sloppy; I just want the information. The readme you provide for the specific module I'm interested in is ridiculously small. I know darned well you must have changed more than what is listed. So what secret vault do I have to burgle to find the full list of bug fixes? Am I just missing an obvious hyperlink?
    - mushroomed
    Message Edited by Root Canal on 08-11-2009 11:29 AM
    global variables make robots angry

    Root Canal wrote:
    Where is the full list of bug fixes? ...
    They are locked-up in the Ivory Tower.
    I have been a LabVIEW Champion for about four years and even after signing NDA's I still can't see the full list.
    Seruously, the full list includes probably millions of bugs that NI finds internally before you and I ever see it.
    The best way to handle your situation is to track the CAR's for your bugs. You can call NI support with the CAR number and they can tell you if the bug was fixed and in which version you will find the fix.
    If it has not been fixed you can contact you rlocal NI rep and ask them to look into it for you. They may be able to tell you in which release the fix is scheduled and bump up the priority of the fix if you make a good arguement.
    Just trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Where can I view a full list of games to buy for the iPod Touch?

    When I go to the iPod Touch section of this web site and click on "Games and Apps", it only shows 16 games. I assume there are more than 16 games available for the iPod Touch, so where do I go to view a full list of games and buy the ones I want?
    Also, do all of the games for the iPhone also work for the iPod Touch?

    Hello GAMESHARQ,
    so where do I go to view a full list of games and buy the ones I want?
    Through the iTunes Store, which can be accessed via iTunes. Just click on the App button at the top of the Store window to access the Apps section. From there, you can choose the Games category to narrow it down.
    Also, do all of the games for the iPhone also work for the iPod Touch?
    Depends on the game. You will have to check out the Requirements section of each Game or App to determine if its compatible with an iPod Touch and iPhone.
    B-rock

Maybe you are looking for

  • Problem with While Loop.

    Hi guys, i'm doing a pass exam java question, below is the question criteria. Write a program that allows a user to enter their mark attained in each unit and displays their grade. After all marks are entered the average mark is displayed. The main m

  • HT201210 i want to downgrade my ipad 2  IOS 6.0 to 5.1.1

    my ipad 2 is cannot use after updating ios 6.

  • Windows 7 Pro will not boot up in Bootcamp and won't recognize keyboard or mouse in Safe Mode

    Windows 7 usually crashes after about 30-60 minutes of use and now I can't get it to even boot after doing a Windows Update. I tried to boot into Safe Mode with Networking but I can't login to Windows because they mouse and keyboard don't seem to be

  • Imac does not detect external vga display

    Please help with connecting external vga display to an imac 21.5'', late 2012, OS X 10.8.5 via Mini DisplayPort to VGA adapter. I have connected an external monitor (Fujitsu Siemens) to the thunderbolt port of the imac using a Mini DisplayPort to VGA

  • Idvd 8 V7 and Idvd 6

    I have a few questions. 1. is Idvd 6HD compatible with idvd 8 (v7) and vice versa? 2. I had a machine rebuilt a a local shop and idvd will not open, says no themes. Any idea where they went and if not in the location how do I get them. I do not have