create_aggregate.sql

来自「PostgreSQL7.4.6 for Linux」· SQL 代码 · 共 24 行

SQL
24
字号
---- CREATE_AGGREGATE---- all functions CREATEdCREATE AGGREGATE newavg (   sfunc = int4_accum, basetype = int4, stype = _numeric,    finalfunc = numeric_avg,   initcond1 = '{0,0,0}');-- without finalfunc; test obsolete spellings 'sfunc1' etcCREATE AGGREGATE newsum (   sfunc1 = int4pl, basetype = int4, stype1 = int4,    initcond1 = '0');-- value-independent transition functionCREATE AGGREGATE newcnt (   sfunc = int4inc, basetype = 'any', stype = int4,   initcond = '0');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?