Re: A join of 2 tables with sum(column) > 30 - Mailing list pgsql-general

From Alexander Farber
Subject Re: A join of 2 tables with sum(column) > 30
Date
Msg-id AANLkTikEKTQ59Y62P-ALbpAKUC3MZaGBFcwKE1L_hCe8@mail.gmail.com
Whole thread Raw
In response to Re: A join of 2 tables with sum(column) > 30  (Alexander Farber <alexander.farber@gmail.com>)
Responses Re: A join of 2 tables with sum(column) > 30  (Vibhor Kumar <vibhor.kumar@enterprisedb.com>)
Re: A join of 2 tables with sum(column) > 30  ("Igor Neyman" <ineyman@perceptron.com>)
List pgsql-general
And same for a simple select-query from1 table (w/o join):

# select id from pref_match where sum(completed) > 30 group by id;
ERROR:  aggregates not allowed in WHERE clause
LINE 1: select id from pref_match where sum(completed) > 30 group by...
                                        ^

pgsql-general by date:

Previous
From: Alexander Farber
Date:
Subject: Re: A join of 2 tables with sum(column) > 30
Next
From: Vibhor Kumar
Date:
Subject: Re: A join of 2 tables with sum(column) > 30