Received: from hub.org.org (localhost [127.0.0.1]) by hub.org (8.10.1/8.10.1) with SMTP id e9A2bwJ49221 for ; Mon, 9 Oct 2000 22:37:58 -0400 (EDT) Received: from taku.hut.fi (taku.hut.fi [130.233.228.87]) by hub.org (8.10.1/8.10.1) with ESMTP id e96EsrJ42028 for ; Fri, 6 Oct 2000 10:54:53 -0400 (EDT) Received: from alpha.hut.fi (csuokas@alpha.hut.fi [130.233.224.50]) by taku.hut.fi (8.9.3/8.9.3) with ESMTP id RAA14741 for ; Fri, 6 Oct 2000 17:54:50 +0300 (EET DST) Date: Fri, 6 Oct 2000 17:54:50 +0300 (EET DST) From: Mikael Suokas To: pgsql-docs@postgresql.org Subject: Tutorial documentation bug Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200010/12 X-Sequence-Number: 327 Hi, While reading the tutorial at http://www.postgresql.org/docs/tutorial/sql-language.htm I came across a bug. In Chapter 2, Example 2-9.: "Union, Intersect, Except" the tutorial states: -------------- start quote ------------------ Here an example for INTERSECT: SELECT S.SNO, S.SNAME, S.CITY FROM SUPPLIER S WHERE S.SNO > 1 INTERSECT SELECT S.SNO, S.SNAME, S.CITY FROM SUPPLIER S WHERE S.SNO > 2; gives the result: SNO | SNAME | CITY -----+-------+-------- 2 | Jones | Paris The only tuple returned by both parts of the query is the one having $SNO=2$. ---------------- end quote ------------------- The result is really: sno | sname | city -----+-------+-------- 3 | Adams | Vienna 4 | Blake | Rome (2 rows) Kind regards, - Mikael - P.S. I am not on the pgsql-docs mailing list, so I won't see any replies sent there.