| От | Arup Rakshit |
|---|---|
| Тема | Re: Not able to understand how to write group by |
| Дата | |
| Msg-id | 1793253.TCcCmnuhc3@linux-wzza.site обсуждение исходный текст |
| Ответ на | Re: Not able to understand how to write group by (jared <afonit@gmail.com>) |
| Список | pgsql-general |
On Wednesday, July 02, 2014 02:49:54 PM you wrote: > On Wed, Jul 2, 2014 at 1:44 PM, Arup Rakshit <aruprakshit@rocketmail.com> > > wrote: > > *group by* on full table(*users*). I am away from our production DB. Could > > you > > tell me how this little change will solve the whole problem and help me to > > get > > the data as per the format I am looking for. > > Arup, > I meant: > GROUP BY users.gender That makes sense. How then calculate the average value for 2 different answers of the given *daily_action_id* ? As I said *answer1* and *answer2*.... -- ================ Regards, Arup Rakshit ================ Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian Kernighan
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера