Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10f400c

Browse files
committed
Fixes for examples from Thomas Diffenbach
1 parent8fdd794 commit10f400c

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-
WHEREP.PNAME = 'Screw';
1627+
WHERE PNAME = 'Screw';
16281628
</programlisting>
16291629

16301630
which will return the following table:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp