From: Tom Lane <tgl@sss.pgh.pa.us>
To: Darryl M. Wolski <drwolski@sympatico.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: nested inner join help
Date: Mon, 14 Jan 2002 16:37:26 -0500
Message-ID: <19354.1011044246@sss.pgh.pa.us> (raw)
In-Reply-To: <000801c1973d$75ea1980$ae00a8c0@arbour>
References: <000801c1973d$75ea1980$ae00a8c0@arbour>
"Darryl M. Wolski" <drwolski@sympatico.ca> writes:
> Can anyone take a look at this and tell me what the problem is?
> I get a parser error at (.
> SELECT orderlines.quantity, products.productname, products.productcost, cus=
> tomers.custlname,customers.custfname
> FROM (((orders INNER JOIN orderlines ON orders.orderid =3D orderlines.lnkor=
> derid) INNER JOIN customers ON (customers.custid =3D orders.lnkcustid)) IN=
> NER JOIN products ON (products.productid =3D orderlines.lnkproductid))
> WHERE (((orders.orderid)=3D2));
Looks fine to me. Are you using an old Postgres version? We didn't
support JOIN keywords until 7.1.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, drwolski@sympatico.ca
Subject: Re: nested inner join help
In-Reply-To: <19354.1011044246@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox