Hi Everyone
I've worked with Postgres Database but i havn't written any user defined function.now i want to produce some reports so can anyone help me to write the function to get my report please see the following details.
In table i have following Data
Batch No OrderNo
127 81294
127 80009
128 13344
129 80379
130 82534
131 25626
132 69103
132 69102
132 64753
I want to produce Report Like this from postgres DataBase
Batch No OrderNo
127 81294,80009
128 13344
129 80379
130 82534
131 25626
132 69103,69102,647 53
I've worked with Postgres Database but i havn't written any user defined function.now i want to produce some reports so can anyone help me to write the function to get my report please see the following details.
In table i have following Data
Batch No OrderNo
127 81294
127 80009
128 13344
129 80379
130 82534
131 25626
132 69103
132 69102
132 64753
I want to produce Report Like this from postgres DataBase
Batch No OrderNo
127 81294,80009
128 13344
129 80379
130 82534
131 25626
132 69103,69102,647 53
Comment