home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / demo / script-24 < prev    next >
Encoding:
Text File  |  1992-08-27  |  197 b   |  6 lines

  1. define aggregate bletch (sfunc1 = int4mul, sfunc2 = int4inc, finalfunc =        int4div, initcond1 = "1", initcond2 = "0")
  2. \g
  3.  
  4. retrieve (randomnum = bletch{emp.salary where emp.salary <= 3000})
  5. \g
  6.