Re: Dynamic insert into ARRAY? plpgsql

From: alexandros_e <alexandros(dot)ef(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Dynamic insert into ARRAY? plpgsql
Date: 2014-02-08 20:42:44
Message-ID: 1391892164239-5791093.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You must a) join the 2 tables on the orderID ... where orderID=15 and then
GROUP BY the result by the order ID and concat the orderlines by a custom
aggregate function like:
http://www.postgresql.org/message-id/db7789b.0309131210.625da358@posting.google.com

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Dynamic-insert-into-ARRAY-plpgsql-tp5791090p5791093.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2014-02-08 20:57:45 Re: Dynamic insert into ARRAY? plpgsql
Previous Message David Johnston 2014-02-08 20:41:36 Re: Dynamic insert into ARRAY? plpgsql