Re: full join question...

From: Niklas Johansson <spot(at)tele2(dot)se>
To: jonas(dot)f(dot)henriksen(at)imr(dot)no
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: full join question...
Date: 2006-04-05 18:06:34
Message-ID: 83D8127B-7321-4132-9B31-E6DA0B383D26@tele2.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 5 apr 2006, at 18.37, Jonas F. Henriksen wrote:
> ehh, sorry, yes, I also want to retrieve other values from the table,
> but I left them out for clarity (which made it maby less clear...).
> Maybe it makes more sense if you define the table as
> CREATE TABLE testtable (
> depth integer,
> measuretype integer,
> operation integer,
> value float
> );
> ...where I'm actually interested in the value...

Well, is there something else I don't get or couldn't you just select
that as well (perhaps without the DISTINCT then)?

SELECT depth, value FROM testtable WHERE measuretype IN (1040, 4001);

Mvh,

Niklas Johansson
Tel: 0322-108 18
Mobil: 0708-55 86 90

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reimer 2006-04-05 18:21:03 Re: PostgreSQL x Sybase
Previous Message Niklas Johansson 2006-04-05 18:02:18 Re: full join question...