|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/rules.sgml,v 1.43 2005/10/15 20:12:33 neilc Exp $ --> |
|
|
|
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/rules.sgml,v 1.44 2005/10/22 14:44:35 alvherre Exp $ --> |
|
|
|
|
|
|
|
|
|
<chapter id="rules"> |
|
|
|
|
<title>The Rule System</title> |
|
|
|
|
@ -553,7 +553,7 @@ SELECT shoelace.sl_name, shoelace.sl_avail, |
|
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
<para> |
|
|
|
|
No we want to write a query that finds out for which shoes currently in the store |
|
|
|
|
Now we want to write a query that finds out for which shoes currently in the store |
|
|
|
|
we have the matching shoelaces (color and length) and where the |
|
|
|
|
total number of exactly matching pairs is greater or equal to two. |
|
|
|
|
|
|
|
|
|
|