Re: [SQL] Oracle outer join porting question

2003-01-16 Thread Marko Asplund
On Wed, 15 Jan 2003, Tambet Matiisen wrote: > ... > Try this: > > SELECT doc.id,doc.title,sub.user_id,sub.operation > FROM document doc LEFT OUTER JOIN document_subscription sub > ON sub.document_id = doc.id AND sub.user_id = 6; yes, this query seems to give the same results as the original

[SQL] Oracle outer join porting question

2003-01-15 Thread Marko Asplund
i'm trying to port an existing application from Oracle8i to PostgreSQL but i'm having problems understanding a certain outer join query type used in the application. the query includes a normal outer join between two tables but also uses outer join syntax to join a table with a constant. here's a