sql query needed for this requiremnet
727350Apr 26 2010 — edited Apr 26 2010Hi All,
I have one small requirement where i need output in format mentioned below.
I have table T
Code sql:
sql> SELECT * FROM T;
PRSID X Y Z
100 2 1 1
100 1 0 1
100 4 1 0
200 2 0 1
200 3 0 1
Now if i need output in following format is it possible!!!
100 (2,1,1),(1,0,1),(4,1,0)
200 (2,0,1),(3,0,1)
Thanks n regards
Laxman