How to write query...? can be done with cross tab...?

Hi,
I have one table like
PlaceId PlaceName
1 A
2 B
1 C
1 D
3 E
4 F
4 G
3 H
I want output like
PlaceId PlaceName
1 A,C,D
2 B
3 E,H
4 F,G
please help on this. using SQL instead of PL/SQL
thanks in advance

Use User Defined String Aggregate Functions
Please see this link
http://www.adp-gmbh.ch/ora/sql/user_def_agg.html
Also the links
Oracle9i Data Cartridge Developer's Guide and Examples from Asktom
1)
http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96595/dci11agg.htm
2)
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:5269744394385
3)
http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php

Similar Messages

  • Is there a way to select MULTIPLE tabs and then copy ALL of the the URLs and titles/or URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; However, I prefer to use a Firefox feature rather than download an add on. Thanks.

    Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

  • How do I convert old work done with iMovie HD 6 to view/work with iMovie 11 on my new iMac?

    How do I convert old work done with iMovie HD 6 to view and work with in iMovie 11 on my new iMac?

    If you still have your iMovie 6 project, you can import it using FILE/IMPORT/iMovieHD Project.
    If all you have is the finished movie, you can FILE/IMPORT MOVIE.
    If your movie is in DV Stream format, it is advisable to convert it to QuickTime MOV container containing DV codec. Otherwise, the import will be chronological by the date and time the clip was shot, rather than in edited order.

  • See what can be done with Java

    Want to see what can be done with a Java and specifically a Java3D application. Go to the Java3D forum and download the application "Free Java3D Demo Application".
    This should put to rest the questions if Java is good enough to do serious programming. This is a Demo of a full application that has over 100,000 circulation within the last month.

    I appreciate the response to this posting however please do not email questions to me reguarding how it works or can I help you to do your java homework. <8-)
    I received 60 email since this posting with many questions. The software is a commercial application. If you are interested, I suggest you go to www.3demall.com/fast and join the program in order to receive a CD and support. The Fast Start Program is a way to introduce our complete concept of PayWare while providing a good value.

  • How many apple tv can I connect with one account?

    how many apple tv can I connect with one account?

    there are 2 recent posts that suggest issues over 5, one where someone was trying to troubleshoot for a friend or client as they couldn't keep more than 5 connected, and the other where somone had more than 5 but was using 2 separate itunes libraries to share the load - not sure if that was with the same or differing AppleIDs.
    I guess there is always the possibility that things kight vary from one itunes version to the next even unintentionally to allow more.
    AC

  • Is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    In iTunes, is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    Thank you. I have heard of Logic Pro 7, but I have never personally used it. I'm still growing in the world of Composition, and I know that it is something I will be studying in one of my Computer Music classes coming up for my degree. I think it is something I will look into getting once I can justify the price of it. I guess for the time being, I will continue to play and grow in my ability to use and take advantage of GB, and then see what I can do about or with Logic Pro when I'm ready. The thought of spending $1000 for a program is hard to bite, because I've already spent a lot to produce my music, not only electronic music, but also chamber music and so on. I had no idea it would be so expensive to dive deep into the world of composition! lol.
    Finale 2007: $500
    Sibelius 4: $500
    Jam Packs: $400
    Midi Keyboard Interface: $100
    PowerBook: $1700
    Printer for printing scores and analysis: $150
    Logic Pro 7: Oy!
    As you can see it adds up very quickly...that doesn't even include my personal instruments and study materials.
    Thank you for your input, as I haven't really worked much with LP, and therefore didn't know which features are available. I will talk with some of my Composition buddies, and professors and see what they have to say as well, and who knows, I may be able to get the express version through one of them.

  • Illustrator keeps quitting-notice others have had similar issues, not resolved-so what it the reason for "sending a report" to Adobe if nothing can be done with it????? paying for a product that I can't use when I need to use it and no help-come on-someon

    Illustrator keeps quitting…notice others have had similar issues…so what it the reason for "sending a report" to Adobe if nothing can be done with it????? paying for a product that I can't use when I need to use it and no help…come on…someone has to have an answer…HELP Pleeeeease

    <moved from Adobe Creative Cloud to Illustrator>
    reset your preferences -
    acrobat:  http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7feb.w .html
    adobe media encoder: https://forums.adobe.com/thread/1713540
    after effects:  http://helpx.adobe.com/after-effects/using/preferences.html
    dreamweaver:  https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs6-cc.html
    flash:  http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
    illustrator:  http://helpx.adobe.com/illustrator/using/setting-preferences.html
    indesign:  https://forums.adobe.com/thread/526990
    lightroom: https://helpx.adobe.com/lightroom/help/setting-preferences-lightroom.html
    muse (mac): https://forums.adobe.com/thread/1246022?tstart=0
    photoshop:  https://forums.adobe.com/thread/375776
    photoshop elements:  https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html,  http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm
    premiere elements:  https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html
    premiere pro: http://www.mediacollege.com/adobe/premiere/pro/troubleshooter/trash-preferences.html
    if that fails, uninstall, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall

  • I am also looking to get whether or not the document is open in a browser window which can be done with event

    I am also looking to get whether or not the document is open in a browser window which can be done with event.target.external, but I want it to happen without any user interaction and all the events that I tried while loading the document cause an error. I also tried xfa.host.name, but it always returns "Acrobat" whether the doc is in Reader or the browser, so I guess that is not it. If I put the call to event.target.external in a button, it works (I guess those libraries might not be initialized yet, they are legacy, but I don't know if there is an event that happens on load after that lib is initialized).

    // Check the document URL to determine if the form is open in the browser (online) or not (offline)
    var MyDoc = event.target;
    var MyURL = MyDoc.URL;
    if ((MyURL.indexOf("http:") >=0) || (MyURL.indexOf(".tmp") >= 0))
    ONLINE_STATUS_SAVE.rawValue = "ONLINE";
    else
    ONLINE_STATUS_SAVE.rawValue = "OFFLINE";

  • I use Adobe Premiere Elements 11. I want to make a Credit Roll and start off screen and stop with the credit remaining still in the middle of the screen. I know this can be done with CS6. Can this be done in Elements 11? Does Elements 12 or 13 have these

    I use Adobe Premiere Elements 11. I want to make a Credit Roll and start off screen and stop with the credit remaining still in the middle of the screen. I know this can be done with CS6. Can this be done in Elements 11? Does Elements 12 or 13 have these options for Credit Roll.

    stevel
    Please read my work on this topic which involves Premiere Elements Preroll and Postroll settings.
    ATR Premiere Elements Troubleshooting: PE: Preroll and Postroll Options Interpreted
    Especially the section relating to Titler, Roll and Crawl Titles.
    Please let us know if that worked for you.
    Thank you.
    ATR

  • HT5219 How many Thunderbolt displays can I use with my MacBook Pro using Windows 7 and  Parrallels?

    How many Thunderbolt displays can I use with my MacBook Pro using Windows 7 and Parallels

    Two. You can daisy-chain two ATD together. Doesn't matter what you're running.
    Clinton

  • How to write query for this in TopLink ?

    I am doing a simple search in jsp where the search will the based on the choices chosen by user.
    I had given 3 check boxes for those choices.
    The problem is, query will be based on the choice or choices chosed by the user.
    How to write query for this in TopLink ?
    Thanks in Advance..
    Jayaganesh

    Try below solution, it is NOT best solution but might work:
    Declare @Questions TABLE (QuestionID INT, QuestionText Varchar(100))
    INSERT INTO @Questions
    VALUES (1, 'Comment'), (2, 'Score')
    DECLARE @Answers TABLE (authkey INT, QuestionID INT, questiontext VARCHAR(100), answertext VARCHAR(100))
    INSERT INTO @Answers
    VALUES (101, 1, 'comment', 'hi!!'), (101, 2, 'score', '4'), (102, 1, 'comment', 'excellent'), (102, 2, 'score', '5'), (103, 2, 'score', '6'), (104, 2, 'score', '8')
    SELECT
    A.AuthKey
    ,Q.QuestionID
    ,Q.QuestionText
    ,A.AnswerText
    FROM
    @Questions Q
    INNER JOIN @Answers A ON Q.QuestionID = A.QuestionID
    UNION
    SELECT
    A.AuthKey
    ,Q.QuestionID
    ,Q.QuestionText
    ,Null
    FROM
    @Questions Q
    CROSS JOIN @Answers A
    WHERE
    NOT EXISTS (SELECT 1 FROM @Answers SubQry WHERE SubQry.AuthKey = A.AuthKey AND SubQry.QuestionID = Q.QuestionID)
    Output
    AuthKey | QuestionID
    | QuestionText
    | AnswerText
    101 | 1 | Comment | hi!!
    101 | 2 | Score | 4
    102 | 1 | Comment | excellent
    102 | 2 | Score | 5
    103 | 1 | Comment | NULL
    103 | 2 | Score | 6
    104 | 1 | Comment | NULL
    104 | 2 | Score | 8
    Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered.

  • How many icloud account can we create with one ios device???

    how many icloud account can we create with one ios device???

    i need more then 1 account as i owe itunes some money and i cant access my app store so if i change my icloud account .....all my previous history wont be tracked

  • "app.selection[0]" – what can be done with it? (CS5)/(CS6)(JS)

    This is hopefully not a simple question – because then the answer would probably be 'no'/'nothing else'.
    What can be done with a selection? Is it posible to sort out the different contents within a selection, declare variables around them or give them names, and then continue from there?
    I have one specific idea here. I want to select two things – one is a group, and the other is a non-grouped object, and then include that object in the original group. No – not the same as selecting them and simply grouping them, that could be done by hand. I want to include an object in a previously set group without creating another one.
    It has to do with a plugin used for creating apps for mobile devices. Creating another group out of the group + item makes all previous settings assigned to the original group dissapear. Not sure if the plugin will accept this method, but it's worth a try.

    Hm. This now is pure speculation on my side, 'cause you are not telling much about the plugIn that has to do with app creation.
    From my knowledge of Adobe Digital Publishing Suite, and I cannot assume that you are using the DPS plugIns "Folio Builder" and "Overlay Creator", I can only guess, that you applied something like an effect (in terms of DPS an "overlay" function) to a group and afterwards grouping anew with a different object to a new group. Then the overlay is burried in that group and will not work as you expected.
    I never asked myself if it will damage an applied "overlay", if the object is grouped with something that has an different "overlay" effect or no "overlay" effect at all. But I will test for that situation…
    After re-reading your question you like to add the same "overlay" effect of the original group to the new group or adding a new object to the group so the effect is not lost.
    In case you are working with DPS, the overlay effects are "injected" with a method you can compare directly with the JavaScript method  insertLabel("KeyString","ValueString") and will stick to the object until the values are changed or the object (your group) will not exist any more (by un-grouping).
    So please, tell us something more about your workflow…
    It's not that easy to add an existing object to a group without un-grouping and re-grouping. And this will destroy the "injected" Key/Value-pairs of the effect.
    Here is something to think about (read the whole discussion):
    http://forums.adobe.com/message/2259499#2259499
    Uwe

  • Problem with Cross tabs

    I have a problem with cross tab.
    When I do grouping on date according to month and summarize the units I am getting the result as 58
    while I do grouping without the croos tab generally in the details section I get the result to be 64.
    I am not able to understand where is the problem.
    Even when I write a query i get the answer as 64.

    Hi,
    Summarizing with a Cross-tab and creating a summary of a group are one and the same; I mean, the summary results are always the same.
    Could you check the summary operation in the crosstab, could you confirm if it is not count or something else?
    Also, create a summary and place it on the Group Header/Footer. It should be same as the Crosstab results for the that particular group.
    -Abhilash

  • How Should select default (Apr-mar)month in cross tab?

    HI Experts,
    I have created webi report with cross tab format. In this report how should select  Current year (April Month) to Next Year (March Month).
    For Example:
    2013 apr.......2014 may

    Hi Manikandan,
    Similar to your previous post about selecting Fiscal Year, do this in BEx, Have a range on Fiscal Month which either the user can input the range or use Customer Exits to derive it.
    The in your cross tab, having Fiscal Month in your columns will show the range selected.
    with regards
    Gill

Maybe you are looking for