Re: COUNT(*) to find records which have a certain number of - Mailing list pgsql-sql

From Rod Taylor
Subject Re: COUNT(*) to find records which have a certain number of
Date
Msg-id 1095697895.86376.3.camel@jester
Whole thread Raw
In response to Re: COUNT(*) to find records which have a certain number of  (T E Schmitz <mailreg@numerixtechnology.de>)
Responses Re: COUNT(*) to find records which have a certain number of
List pgsql-sql
On Mon, 2004-09-20 at 12:19, T E Schmitz wrote:
> I figured it eventually. (The only thing I don't know is where to put
> the ORDER BY.)

Try this:              SELECT brand_name, model_name         FROM (SELECT ... INTERSECT SELECT ...) AS t       ORDER BY
...



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Test for file exists?
Next
From: T E Schmitz
Date:
Subject: Re: COUNT(*) to find records which have a certain number of