金仓数据库兼容mysql中any_value函数:
create function coalesce_("anyelement","anyelement") returns "anyelement"
language sql as $$ select coalesce( $1,$2) $$;
create aggregate any_value("anyelement")(sfunc=coalesce_, stype="anyelement");
金仓数据库兼容mysql中any_value函数:
create function coalesce_("anyelement","anyelement") returns "anyelement"
language sql as $$ select coalesce( $1,$2) $$;
create aggregate any_value("anyelement")(sfunc=coalesce_, stype="anyelement");