Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 10f400c

Browse files
committed
Fixes for examples from Thomas Diffenbach
1 parent 8fdd794 commit 10f400c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/sql.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/sql.sgml,v 1.13 2000/11/29 20:15:59 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/sql.sgml,v 1.14 2000/12/09 22:59:25 momjian Exp $
33
-->
44

55
<chapter id="sql">
@@ -934,7 +934,7 @@ SELECT PNAME, PRICE
934934
SELECT PNAME, PRICE
935935
FROM PART
936936
WHERE PNAME = 'Bolt' AND
937-
(PRICE = 0 OR PRICE < 15);
937+
(PRICE = 0 OR PRICE <= 15);
938938
</programlisting>
939939

940940
will lead to the result:
@@ -1350,7 +1350,7 @@ SELECT S.SNO, S.SNAME, S.CITY
13501350
INTERSECT
13511351
SELECT S.SNO, S.SNAME, S.CITY
13521352
FROM SUPPLIER S
1353-
WHERE S.SNO > 2;
1353+
WHERE S.SNO < 3;
13541354
</programlisting>
13551355

13561356
gives the result:
@@ -1624,7 +1624,7 @@ CREATE VIEW London_Suppliers
16241624

16251625
<programlisting>
16261626
SELECT * FROM London_Suppliers
1627-
WHERE P.PNAME = 'Screw';
1627+
WHERE PNAME = 'Screw';
16281628
</programlisting>
16291629

16301630
which will return the following table:

0 commit comments

Comments
 (0)