Search Postgresql Archives

Re: M$ Access "crosstab" query tab PostgreSQL equivalent

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

 



am  Sat, dem 24.02.2007, um 12:12:00 -0600 mailte Seb folgendes:
> Hi,
> 
> I'm unable to find how to construct a query like the one mentioned in the
> Subject.  The Access query looks like this:

Take a look into contrib, there are a tablefunc.sql - file with
functions like crosstabN().


> I've also not found a PostgreSQL equivalent to function First() used in
> Access SQL to extract the first value for data in grouped queries, such as
> the one above.

'ORDER BY' and 'LIMIT 1'?


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


[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