change the view by adding the number of when

I saw with 2 columns name and salary I want to add a new column with name identity that the value in this column will be changed every 3 rows once
Example:
ID name salary
1 my 500
1 hh 300
1 uu 200
2 ff 100
2 500 rr
TT 2 111
3 d 333
---
--
-

Thank you for the help

Like this?

SQL> select ceil(rownum / 3), empname, sal
  2    from t;

CEIL(ROWNUM/3) EMPNAME                               SAL
-------------- ------------------------------ ----------
             1 aaa                                   100
             1 bbb                                   200
             1 ccc                                   300
             2 ddd                                   400
             2 eee                                   500
             2 fff                                   600
             3 ggg                                   700
             3 hhh                                   800
             3 iii                                   900
             4 jjj                                   111

10 rows selected.

SQL>

Tags: Database

Similar Questions

  • How can I change the number of seconds in the view as slideshow in Windows XP?

    I would like to change the number of seconds when look at a photo in a slideshow... How can I do this?

    The following method will adjust the slideshow 'time by image '.
    for Windows XP...

    Download and install free Windows XP PowerToy "TweakUI".

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Windows XP downloads
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP
    (Search for TweakUI featured downloads tab)

    When you have downloaded and installed TweakUI... open and
    in the left pane. Expand the Explorer (left click the +) and select (highlight)
    Slide show.

    Change the number to all what you need... then on the left, click apply / OK.
    For example... 5000 = 5 seconds.

  • How to change the number of minutes for the exercise of the activity of the application

    How to change the number of minutes for the exercise of the activity of the application

    Hello

    It is not currently possible to change the goal of daily exercise.

    If you want to suggest that Apple consider adding this option, you can submit a request here:

    https://www.Apple.com/feedback/watch.html

  • What command to change the number of ports for vSwitch0?

    I develop kickstart to deploy ESX4 U1 to upgrade our 100 ESX 3.5 servers. After trying for a day, I had almost all of this work. The problem is vSwitch0 is created with only 32 ports. Can I use vi client to change the port number after, but it is nice to have everything using kickstart.

    Y at - it a command to change the number of ports for vSwitch0? I know that you can create a new vswitch port num vSwitch, but not for vSwitch0 created during installation.

    For those using pxe and start problem with no. cos NIC added by the user, it is not a real error message, press Alt + F1 to display the actual error message, it should tell you what the problem is.

    Thank you

    I have it in my postconfig:

    Perl-pi-e w /------/ NET/vswitch\/child\ [0000\] \/numPorts = \"\d+\"/\/net\/vswitch\/child\[0000\]\/numPorts = \"256\"/g;' /etc/vmware/esx.conf

    Ben

  • Setting to change the number of days to sync e-mail

    Where the parameter move to if you want to change the number of days that will be synchronized to your e-mail accounts? Or he is let out iOS 10 for some reason any?

    vrmcw wrote:

    Where the parameter move to if you want to change the number of days that will be synchronized to your e-mail accounts? Or he is let out iOS 10 for some reason any?

    account settings - sync mails - 'Exchange' on my phone - spam day-

    Not an ios 10 issue that I don't have the function to my yahoo account.

    Maybe you should ask your email provider.

  • Cannot change the number of laptop Apple ID because I moved from the India

    I can't change the number of mobile for notifications in my Apple/iCloud account, it shows my old Indian number but I moved from the India and now Iam in Tanzania. He asked security questions that I don't even remember...

    I can not yet implemented iCloud keychain...

    Need help, he cannot set up on my Mac, the iPhone or iPad

    You can change preferences/iCloud/Keychain/options of the system?

  • How to change the number of tabs pinned when I open a new tab?

    Before today, I have easy access to 8 tabs pinned on my page tab and now I have only 4 and I can't change it back. What was changed and how can I change the number of pinned tabs?

    "What was changed and how can I change the number of pinned tabs?"

    The css for the margins and tiles has been changed. Try Zoom Out = {Ctrl liked-} to see more tiles. I need zoom back twice to get a 2nd rank.

    Or use this extension - https://addons.mozilla.org/en-US/firefox/addon/new-tab-tools/ - for more control on what is and what is not displayed on the new tab page.

  • Display the icon change the number of columns

    I'm sure it must be a way to change the number of columns in the display icon, not the space between columns, not the size of the icons, but the number of columns, for example, that dumpster has 4 columns and I want to see those hidden on the right I have to use the scroll bar, I want to do I want to see ONLY for columns of the filling finder window?

    Thank you very much

    Roger

    "BTW that seems to only happen when I consult with ANY ' arrange by" or "sort by"!

  • Change the number online

    Is it possible to change the number online, which form the part of my unlimited subscription pack Europe, I don't see any button to do.

    Hello-

    If you have an account, you can get the chat support.

    1. go to support.

    2. click on 'get help'

    3. Enter your question

    4. click on 'get help' (new)

    5. connect and follow the instructions

  • Can I change the number of stars available in the ribs?

    I implemented in my spreadsheet the coast to stars, but the default number of stars is a 0-5 scale.  I can change it to have only a 3-0 stars?

    I don't know a way to change the number of stars.  You can use a Stairmaster or a cursor

  • I changed my phone number, but I can't update the 'ACCESSIBLE AT' number on my Apple ID account Please can someone explain how I can change the number of 'ACCESSIBLE AT', to update my account with my new number?   Thank you.

    I changed my phone number, but I can't update the 'ACCESSIBLE AT' number on my Apple ID account Please can someone explain how I can change the number of 'ACCESSIBLE AT', to update my account with my new number?

    Thank you.

    Try going into settings > FaceTime and turn off FaceTime. Then go to Messages and turn off iMessage.

    Turn off your phone and then new.

    RETURN to FaceTime and turn it on again, even with iMessage. He has to try to reactivate and your new number should appear (you can see this more down in the addresses to send & receive). You may need to log into your Apple ID for this operation.

  • Dynamically change the number of sub-panels

    Hello

    I have a computer where usually 4 testplaces of production are connected to.

    I want to have a main VI indicating the status of the 4 different testplaces, that I can do with 4 separate sub-panels - no problem.

    The issue is that I would be flexible in testplaces how I show in a program (as this hole thing is pretty cool, and I expect that some changes will come). Is it possible to dynamically change the number of sub-panels displayed (other that make it twenty of them and turning off then those you don't need)?

    My first idea was to place the school in a table, but unfurtunately is not possible.

    Best regards

    Frank

    Yamaeda wrote:

    The POP in separate windows, and you can have as much as you want.

    Or make separate them windows, and then set up a child-parent relationship in Windows, it seems as if it was all about a user interface.

    http://screencast.com/t/P9SJ1anR

    It's nice enough for the demo beta like software, but works.

    https://lavag.org/topic/17046-multi-panel-interface/

  • How to change the number of items in number to Boolean, function VI table

    Hi, I'm working on using the digital output of data acquisition to control the digital input of a DAC, and I used the Number function in Boolean table. VI to convert the number to a Boolean array. The maximum number is 4096, so it must be composed of 12 elements.

    For the description of the VI, it is said that Boolean matrix returns a table of 8, 16, 32 or 64 elements, according to the number of bytes in the whole. Therefore, I change the number of channels in the task to 16, but it still does not work. The suggesitions are greatly appreciated.

    Thank you!

    Possible reasons:

    Scripture cannot be performed because the number of data channels does not match number of channels in the task.

    When writing, provide data for all channels in the task. You can also change the task so that it contains the same number of channels as the written data.

    Number of job channels: 12
    Number of data channels : 32

    Task name: _unnamedTask<1B>

    Once you have the array of Boolean, you can resize using table tools. For example you can use the "new range" with a length of 12 to pad the table of 12 elements of Boolean values (you can also use a subset of table).

  • Change the number of items in the drop-down list box when running

    I'm trying to change the number of items in one of my boxes of comobo.

    I have been through the help and this forum and have the values to within the drop-down list box change very well, but in a scenario, I want to go to three options for 2. And according to other choices to 3.

    I guess I have to use a property node but I can't understand that one.

    You can use the method to reset to zero (using an invoke node) before setting the [Strings] (after setting the value by default an empty array) or create an Xcontrol (you can see examples of LabVIEW for xcontrol).

    Ben64

  • Change the number of sequence on a created cryptomap

    Hello

    I have a doubt regarding the sequence number of a crypto map.

    Now, I have a card encryption I'd like to do with lower priority (put a higher sequence number). There is currently 1 and and want to 3.

    To do this, I had to remove the card:

    No crypto map Internet_map0 1 1.1.1.1 ipsec-isakmp dynamic (it's a site 2 site vpn but with dynamic extrems)

    Next, I add a new card encryption with the desired sequence number:

    card crypto Internet_map0 3 ipsec-isakmp 1.1.1.1 Dynamics

    Is posible change the number sequence without first remove encryption card?

    Thanks to all and sorry for my English.

    Hello

    No there is no way to just change the sequence number, you will need to follow the procedure that you did the moving the map encryption for a different number of position or sequence.

    Best regards, please rate.

  • BlackBerry smartphones change the number of rings before going to voicemail BB8830

    Hello

    Is there a way to change the number of rings before that switches phone to voicemail? It seems to me miss a lot of calls, especially now with winter clothing.

    It takes time for unfumble the BB out of the Holster with several layers of clothing...

    Thank you

    Lubo

    Thanks for the pointer.

    I found the rest of reference to the website of Bell Mobility (Canada), that solved my problem:

    How can I choose the number of rings before the center of messages or no answer transfer picks up?

    To set the number of rings before messages or center of the Express Message Centre picks up, follow these steps:

    From your mobile phone, press on * 94, followed by the number of standard rings you would like that your callers hear before display se pick up; This can be between 2 and 9. (For example * 942 to 2 rings)

    1. Press SEND or TALK
    2. If the change is successful, you will hear a confirmation tone. If the change was not successful, you will hear a fast busy signal; Repeat steps.

Maybe you are looking for