Mario Splivalo wrote:
Tom Lane wrote:
Mario Splivalo writes:
I have two tables, tableA and tableB:
CREATE TABLE tableA (idA integer primary key, email character varying
unique);
CREATE TABLE tableB (idB integer primary key, email character varying
unique);
Now, I want to create
In response to wstrzalka :
> What I need is to join 2 tables
>
> CREATE TABLE master(
> id INT4
> );
>
>
> CREATE TABLE slave (
> master_id INT4,
> rank INT4,
> value TEXT);
>
>
> What I need is to make the query:
>
> SELECT m.id, array_agg(s.value) AS my_problematic_array
> F
In response to wstrzalka :
> What I need is to join 2 tables
>
> CREATE TABLE master(
> id INT4
> );
>
>
> CREATE TABLE slave (
> master_id INT4,
> rank INT4,
> value TEXT);
>
>
> What I need is to make the query:
>
> SELECT m.id, array_agg(s.value) AS my_problematic_array
> F