How to flatten a database table

Поиск
Список
Период
Сортировка
От mai fawzy
Тема How to flatten a database table
Дата
Msg-id AANLkTimGSrZ85t2rMdRrad2MIsa6kFS27zqUQYC4EH_5@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to flatten a database table  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
Hi All,

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
   3
   .
   .
   .
   .
   n


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. how can this be implemented??


Thanks a lot,
Mai

В списке pgsql-general по дате отправления:

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: High Availability with Postgres
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: How to flatten a database table