Re: [HACKERS] Problem with group by in conjuction with Views

2001-03-30 Thread Jim Buttafuoco
This seems to work for me. I used the snapshot from 3/28 on Solaris 8 SELECT service, count(*) AS GebruikersAantal FROM tbtrouble GROUP BY service; service | gebruikersaantal ---+-- Service 1 |2 Service 3 |2 Service 4 |

Re: [HACKERS] Problem with group by in conjuction with Views

2001-03-29 Thread Tom Lane
Jeroen Eitjes <[EMAIL PROTECTED]> writes: > I have found a small but annoying bug. I have created a view. The > SQL-statement in the view contains a GROUP BY statement. Then I compose a > SQL-statement using this view and another GROUP BY statement and a COUNT(*) > statement. This sort of thing w

[HACKERS] Problem with group by in conjuction with Views

2001-03-29 Thread Jeroen Eitjes
Hi there, I have found a small but annoying bug. I have created a view. The SQL-statement in the view contains a GROUP BY statement. Then I compose a SQL-statement using this view and another GROUP BY statement and a COUNT(*) statement. The count(*) statement doesn't count the amount of grouped r