Problem writing sql statement....

From: Bjørn T Johansen <btj(at)havleik(dot)no>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Problem writing sql statement....
Date: 2007-02-15 21:13:31
Message-ID: 20070215221331.015b8422@pennywise
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a table that I want to find rows that have the same value in two fields, e.g. all rows that have the same date and also the
same productionid...
How do I write such an sql statement?

Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj(at)havleik(dot)no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GUNDUZ 2007-02-15 21:25:51 Re: Keyword OWNED not recognized in pg v. 8.1
Previous Message Casey Duncan 2007-02-15 20:42:13 Where art thou pg_clog?