head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	93.06.15.22.13.42;	author avi;	state Exp;
branches;
next	1.3;

1.3
date	91.11.21.05.32.10;	author mer;	state Exp;
branches;
next	1.2;

1.2
date	91.11.19.19.01.05;	author mer;	state Exp;
branches;
next	1.1;

1.1
date	91.08.18.01.52.17;	author caetta;	state Exp;
branches;
next	;


desc
@demonstrates aggregate definition
@


1.4
log
@added basetype, stype1, stype2 to bletch aggregate definition
@
text
@define aggregate bletch (sfunc1 = int4mul, basetype = int4, stype1 =
int4, sfunc2 = int4inc, stype2 = int4, finalfunc =        int4div, initcond1 = "1", initcond2 = "0")
\g

retrieve (randomnum = bletch{emp.salary where emp.salary <= 3000})
\g
@


1.3
log
@do one query with the newly defined aggregate
@
text
@d1 2
a2 1
define aggregate bletch (sfunc1 = int4mul, sfunc2 = int4inc, finalfunc =        int4div, initcond1 = "1", initcond2 = "0")
@


1.2
log
@account for new format of initial conditions
@
text
@d4 2
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
define aggregate bletch (sfunc1 = int4mul, sfunc2 = int4inc, finalfunc =        int4div, initcond1 = 1, initcond2 = 0)
@
