Re: MAX(column1),MAX(column2),...

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: MAX(column1),MAX(column2),...
Дата
Msg-id web-1371121@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на MAX(column1),MAX(column2),...  (Bjarte Aagnes <bjartea@student.sv.uio.no>)
Ответы Re: MAX(column1),MAX(column2),...  ("Travis Hoyt" <thoyt@npc.net>)
Список pgsql-sql
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
typingthe column
 
names, it doesn't exist.

-Josh Berkus


В списке pgsql-sql по дате отправления:

Предыдущее
От: Bjarte Aagnes
Дата:
Сообщение: MAX(column1),MAX(column2),...
Следующее
От: "Travis Hoyt"
Дата:
Сообщение: Re: MAX(column1),MAX(column2),...