I am a novice sql reporter. I have a field called tape_media in a sql query that I am GROUPing up and counting how many unique tapes a job is writing as a summary for each day. I would like to also list each of these DISTINCT media in a new field that is grouped along with my other GROUP fields for each day but I have no idea if or how to do it. Along with this statement:
COUNT(DISTINCT tape_media) AS Total_Tape_Medias,
is there a way to append each of these DISTINCT tape_media entries to a single new GROUP field (ex. list_of_tape_media)with a "," separating each distinct tape media?
Thanks for any help.
ljs
COUNT(DISTINCT tape_media) AS Total_Tape_Medias,
is there a way to append each of these DISTINCT tape_media entries to a single new GROUP field (ex. list_of_tape_media)with a "," separating each distinct tape media?
Thanks for any help.
ljs