Re: How to flatten a database table - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: How to flatten a database table
Date
Msg-id hvpt6t$3ts$1@dough.gmane.org
Whole thread Raw
In response to How to flatten a database table  (mai fawzy <maifawzy.emaifaw@gmail.com>)
List pgsql-general
mai fawzy, 22.06.2010 10:38:
> I have a table that has the following fields:
>
>     ID    Money      Date           State
>     1       20         2010-01-01   done
>     2       10         2010-01-02    done
>
> I need to select the values from this table to join them 2 another
> select statement but the problem that I need to flatten this table first.


> I need the returned values to be as one row.

Based on which condition?


pgsql-general by date:

Previous
From: mai fawzy
Date:
Subject: How to flatten a database table
Next
From: Dimitri Fontaine
Date:
Subject: Re: What type of index should I use?