Aggregating Related Text Data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tariq malik
    New Member
    • Jun 2011
    • 1

    Aggregating Related Text Data

    i have a table with fields FILE_ID and COMMENTS. I want to show all comments in one field depending on a specific FILE_ID key in ORACLE 10G, Can u help me? I will be very grate ful to u.
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    Code:
    select distinct file_id,wm_concat(comments) from test group by file_id

    Comment

    • nbiswas
      New Member
      • May 2009
      • 149

      #3
      Have a look at String Aggregation Techniques in Oracle. This will give you more ways of doing so

      Comment

      Working...