Bjarte,
> 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.
That is exactly what you have to do. I do not understand the problem.
If you are looking for some way to save yourself typing the column
names, it doesn't exist.
-Josh Berkus