|
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* IDENTIFICATION |
|
|
|
|
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.51 2005/10/15 02:49:16 momjian Exp $ |
|
|
|
|
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.52 2005/12/07 15:27:42 tgl Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
@ -29,10 +29,10 @@ |
|
|
|
|
* and ExecEndNode in sync when new nodes are added. |
|
|
|
|
* |
|
|
|
|
* EXAMPLE |
|
|
|
|
* suppose we want the age of the manager of the shoe department and |
|
|
|
|
* the number of employees in that department. so we have the query: |
|
|
|
|
* Suppose we want the age of the manager of the shoe department and |
|
|
|
|
* the number of employees in that department. So we have the query: |
|
|
|
|
* |
|
|
|
|
* retrieve (DEPT.no_emps, EMP.age) |
|
|
|
|
* select DEPT.no_emps, EMP.age |
|
|
|
|
* where EMP.name = DEPT.mgr and |
|
|
|
|
* DEPT.name = "shoe" |
|
|
|
|
* |
|
|
|
|