Re: transposing data for a view

Поиск
Список
Период
Сортировка
От Jeff Eckermann
Тема Re: transposing data for a view
Дата
Msg-id 20011101162205.3088.qmail@web20807.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: transposing data for a view  ("Josh Berkus" <josh@agliodbs.com>)
Ответы Re: transposing data for a view  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
Josh,
I don't see how you got the result you quote below. 
My query sums the volume figures, grouping by scanid:
that worked as expected (one line per scanid) on my
system when I tested it (version 7.1.2, though I don't
think that matters).
Jeff

--- Josh Berkus <josh@agliodbs.com> wrote:

> Of couse, it's only *half* a solution.  Your query
> will result in:
> 
> scanid    A_volume  B_volume  C_volume
> 1    34.5                
> 1          55.1        
> 1                12.3
> 2    11.1                
> etc.
> 



__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


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

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: Re: transposing data for a view
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: View consistency