MAX(column1),MAX(column2),... - Mailing list pgsql-sql

From Bjarte Aagnes
Subject MAX(column1),MAX(column2),...
Date
Msg-id Pine.SOL.4.33.0204151932060.6621-100000@ulrik.uio.no
Whole thread Raw
In response to Re: data order problem  ("Josh Berkus" <josh@agliodbs.com>)
Responses Re: MAX(column1),MAX(column2),...  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
Hi,

How do I list all column names and maximum values for each column in a table.
I can list the column names, but can't see how to get the maximum of each
column without typing max(name) for every column.

Regards
Bjarte Aagnes



pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: oid and oidvector
Next
From: "Josh Berkus"
Date:
Subject: Re: MAX(column1),MAX(column2),...