SQL - histogram

Поиск
Список
Период
Сортировка
От msalt@uol.com.br (Txugo)
Тема SQL - histogram
Дата
Msg-id 45809a56.0107090919.177def5b@posting.google.com
обсуждение исходный текст
Ответы Re: SQL - histogram  (Mathew White <innards@xmission.com>)
Список pgsql-sql
Hi,
I've a problem as follow:
I have a table where one record represent a person, including his height.
I'd like to know how many person have more than 150 cm, more than 160 cm 
and so on.
How can I do that using SQL?

Example:
people > 150 - 1000      > 160 -  850      > 170 -  500      > 180 -  200      > 190 -  30
thanks in advance


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

Предыдущее
От: Stephen Bell
Дата:
Сообщение: Re: sql startment problem PLEASE HELP .....
Следующее
От: s050399b@hotmail.com (Jacky Cheang)
Дата:
Сообщение: automatic restore of database