How do I order?

Hi all

I have a query as below.

Select rtrim (xmlagg (xmlelement (e, pt.empno |))) ((("#")) .extract ('/ / text()'), ' # ') Enumbers

from scott.emp pt

where 1 = 1

Pt.deptno group

Enumbers

----------

7782 7839 # #7934

7369 #7902 7876 # #7788 #7566

7499 #7698 7654 # #7844 #7900 #7521

Required_Output

Enumbers

----------

7782 7839 # #7934

7369 7566 # #7788 #7876 #7902

7499 # #7698 7844 #7521 7654 # #7900

I need order of each line. So how do?

Hello

I got it.

Select rtrim (xmlagg (xmlelement (e, pt.empno |))) (((' # ') Order by pt.empno) .extract ('/ / text()'), ' # ') Enumbers

from scott.emp pt

where 1 = 1

Pt.deptno group

Enumbers

----------

7782 7839 # #7934

7369 7566 # #7788 #7876 #7902

7499 # #7698 7844 #7521 7654 # #7900

Tags: Database

Similar Questions

  • How can I order by alphabet created list on a menu drop-down?

    How can I order by alphabet created list on a menu drop-down?

    Click the cell that contains the data of cell format pop-up menu. On the cell on the right Panel tab, you will see these menu items. Drag to reorder alphabetically. There is no provision to automatically sort this list of menu items.

  • How can I order i-Tunes DOES NOT close automatically after 30 minutes... Despite having put in place to save energy to stay active for 2 hours?

    i mac OSX10-9-5 2015.   How can I order i-Tunes DOES NOT close automatically after 30 minutes... Despite having put in place to save energy to stay active for 2 hours?

    To the best of my knowledge iTunes has all of the features that could stop him. What make you believe it's iTunes rather than some other power saving feature? What happens exactly 30 minutes? It's happens during playback video or audio?

    TT2

  • How can I order Windows Vista recovery disk for pavilion m9515y

    Hello

    I have a Pavilion m9515y desktop which had Windows Vista.  The hard drive has crashed and I have no recovery disks.  I tried to find a place to order the disks in the support area, but recovery discs are not one of the options.

    Please let me know how I can order them

    Here is the information for the computer:

    Pavilion m9515y

    Nc695AA prod # #ABA

    Thank you

    Brian Cox

    Hi, Brian:

    You can order for your model of HP recovery disks by clicking on the link below and then clicking on the link order recovery media.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=2100&LC=en&cc=us&DLC=en&sw_lang=&product=3867599

    If for some reason, the link doesn't work (happens sometimes), just call HP technical support and order a game by phone.

  • How can I order additional memory for my HP Mini 210-2001sd PC computer

    How can I order additional memory for my HP Mini 210-2001sd PC computer

    Here is a link to a seller.

  • How can I order recovery disks?

    My hard drive crashed and had to be replaced, so I do not have a recovery partition.  How can I order from Dell recovery discs?

    Today I have addressed this. If you purchased your Dell printer a retailer like Best Buy (I did), Service tags are already registered... at Best Buy! You must request a transfer of property, which is just ridiculous. Can you imagine if you had to do this for all your purchases? All my bread would be registered at Safeway unless I asked for ownership of each slice.

    Anyway, once you have ownership of the store that you bought your computer to, you should be able to request records. Wrestling: Managed by the warranty, which is not open 24 hours service. I have to wait until tomorrow to see if it works or not - this after 3 times during my call being transferred and have to convince my rep service Yes, I actually had a writable DVD drive in my machine. >:|

  • How can I order a recovery media for HP Pavilion dv9810us Notebook?

    How can I order a recovery media for a HP Pavilion dv9810us Entertainment Notebook PC? I'm following the documentation that was provided with my PC when I bought it several years ago. I can still these discs?

    Hello

    Although the set of recovery disks is no longer available at HP, you can always order them the re-seller 3rd party on the following link.

    http://www.computersurgeons.com/p-15623-recovery-kit-483904-002-for-HP-model-number-dv9810us.aspx

    Kind regards

    DP - K

  • Hi, in the creative cloud Panel, in the "APP" Panel it is always "download error". How may I order? Thank you, Sandro

    Hi, in the creative cloud Panel, in the "APP" Panel it is always "download error". How may I order? Thank you, Sandro

    Sandro please see error when downloading the Cloud Creative applications - download http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for more information on how to resolve the errors.

  • How can I order product clouds InDesign CC for profit?

    How can I order CC InDesign for profit? Only the options I see are individual, business, student and teacher and College universotoes? We are a 501 c 3. @

    Please check KB links to not-for-profit:

    Hope this helps you.

    Concerning

    Baudier

  • How can I order the upgrade $ 29.99 creative cloud on a tax exempt status?

    How can I order the upgrade $ 29.99 creative cloud on a tax exempt status? I note that it says 'tax' now and my employer with a tax exempt status, it must be ordered without this accusation.

    Tax exempt purchases can only be made on the education online store. To place a tax-exempt order, contact a dealer education.

    Find an education reseller.

  • How to pre-order carrier free/unlocked iphone 7 more, pre order page his not giving an option for that.

    Hello. I wanted to buy an iphone 7 more factory unlocked. I'm going out of country next month so I have to use outside of US. I tried pre order but it is asking for my carrier, (I use Tmobile but I have to use this cell phone in another country) there is no option for iphone "carrier free/unlocked. How am I supposed to order free iphone carrier?

    7 iPhone more

    You will not have this option until Apple offers it. It should happen fast enough, but no specific timetable.

    Good luck

    GB

  • I would like to ask how can I order iphone black adition 6s

    How can Hi I order for 6 s black edition iphone please?

    Visit the Apple Web site in your country and he order it.

  • How can I order a calendar with information for different countries

    In the past, I was able to create a calendar and then order different versions of information for different countries. I can't find this option now. It has been deleted? If this is not the case, how can I do?

    Hey oldcelt,.

    I understand that you want to add information to another country. Let's see what options are available for your calendar.

    You can view the holidays from a specific country. To do this, open the calendar in the calendar settings button settings button of the toolbar and you will see a section for "national holidays of the show. Make your selection and you will be ready to go. For more details, take a look at the information below.

    Change the date of a calendar information
    http://help.Apple.com/photos/Mac/1.1/#/phtb94d9019

    Change the date of a calendar information

    You can easily change the settings of date and your calendar at any time. You can also have your calendar displays events in your calendar application, the national holidays of many countries and anniversaries that you saved in Contacts.

    1. Click project on the toolbar, and then double-click the calendar.

    2. Click the calendar settings on the toolbar.

    3. Do one of the following:

      • Choose a fresh start, month, or year: Use the pop-up menus at the top of the settings pane.

      • Change the number of months in the calendar: Pick a number on the shortcut menu.

      • Display the national holidays of the country: Click the menu drop-down "show national holidays ' and choose the desired country. To stop the display of national holidays, choose None.

      • Display the calendar events: Check the box next to each calendar that you want to display.

        Note: The calendars that you see listed here are the ones you have set up in the calendar application on your Mac.

      • Show the birthdays you have saved in contacts: Select "show Contacts birthdays."

    Take it easy

  • How can I order a 2nd book iPhoto with different dimensions?

    I created, ordered and received a book of photos from iPhoto.

    Now, I want to order another size 1 but in another and I can't work on how do it.

    Help!

    Mike

    Changing the size of a book can change the layout of the pages. You must create a second version of the book.

    • CTRL-click on the book in the source list and choose "duplicate".
    • Open book duplicate and press the button "change theme".
    • In the lower left corner of the theme Panel click on one of the L or XL - size options.
    • At the top of the Panel, select the type of coverage.
    • Now check out the pages of the book, if inappropriate photos or text boxes need a new layout.
  • [JDev12.1.2, ADF] How do I order dynamic region by a menu bar?

    Hallo,

    I saw the video of this useful Shay https://blogs.Oracle.com/Shay/entry/adf_dynamic_regions_switching_just in which succession of dynamic region is managed by creating a "dynamic region link" for each defined workflow to display in the region.

    I would order the change of dynamic region by clicking on the menu to a menu bar items.

    What is the cleanest to achieve this way? Can I use the scope view bean managed which JDev make me create when I drag the first bounded task flows to create the region? I saw every link that I create is added to the partial triggers in the region...

    My page container (in the region) has its own bean support. To manage the region: could I convert the scope of this bean to 'see' and use it? Or is it a good practice creating a bean completely assigned to the management of the region?

    Thank you

    Federico

    Hallo

    This ADF: how to restart a taskflow menu is a good example of creating a dynamic region activated by a menu.

    Ciao,.

    Federico

Maybe you are looking for