Percentage of Total Occurances

Поиск
Список
Период
Сортировка
От Adam Sherman
Тема Percentage of Total Occurances
Дата
Msg-id 6790000.1050418432@saturn
обсуждение исходный текст
Ответы Re: Percentage of Total Occurances  (<mallah@trade-india.com>)
Список pgsql-sql
I have a table being used for poll results:

id
poll_id
question_id
answer_id
datestamp

I what to figure out the percentage or respondants that gave each answer. 
This is based on occurance rather than values.

I want to be able to figure it out for a single (poll_id,qustion_id) 
combination and also for multiple questions.

Thanks for your help,

A.


--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PERFORM] [GENERAL] Yet Another (Simple) Case of Index not used
Следующее
От: pginfo
Дата:
Сообщение: changing column size and type.