Re: difficult query - Mailing list pgsql-sql

From Jakub Ouhrabka
Subject Re: difficult query
Date
Msg-id Pine.LNX.4.33.0205041921020.18453-100000@u-pl2
Whole thread Raw
In response to difficult query  (Jakub Ouhrabka <jouh8664@ss1000.ms.mff.cuni.cz>)
Responses Re: difficult query
Re: difficult query
List pgsql-sql
> > Is it possible to do this in sql?
>
> Basically, no. (You might be able to do it with the help
> of a user-defined function though).
>
> Why do you want to do this?

I'm curious. I've been on a sql course long time ago where the tutor
mentioned similiar problem as something special for sql smarties...  And
yesterday when I faced this problem (which can be solved perfectly with
the outer join) I wasn't able to remember the solution... If there is
any...  Just out of curiosity...

thanks,              kuba



pgsql-sql by date:

Previous
From: Ian Barwick
Date:
Subject: Re: difficult query
Next
From: Joseph Barillari
Date:
Subject: Syntax error in plpgsql crashes backend