Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group