Plz can any one help me to write function in postgres
i have a table with two columns
for example student class and student name
the table Data is like this
STU_class Name
1 Ann
2 JAck
3 Dickson
1 Donald
but the report i need is in the following format
Class Name
1 Ann,Donald
2 JacK
3 Dickson
can anyone help me to generate this report
Thanks in advance
i have a table with two columns
for example student class and student name
the table Data is like this
STU_class Name
1 Ann
2 JAck
3 Dickson
1 Donald
but the report i need is in the following format
Class Name
1 Ann,Donald
2 JacK
3 Dickson
can anyone help me to generate this report
Thanks in advance
Comment