Search Postgresql Archives

Re: Converting Rows to Columns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: pgsql-general-owner@xxxxxxxxxxxxxx 
> [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Joshua Berry
> Sent: Tuesday, May 05, 2009 10:39 AM
> To: pgsql-general@xxxxxxxxxxxxxx
> Subject:  Converting Rows to Columns
> 
> Greetings all,
> 
> I know that this is an elementary question, so I'm just 
> asking for a pointer in the right direction.
> 
> I have a query like this that tries to link Retail shops 
> (from the table aliased as 'a') to sales reps (from the table 
> aliased as 'e') that service the given Retail shop:
> [snip]

Is a crosstab query what you're looking for?

Mike

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux