GetFirstElem 函数返回时间系列中的第一个元素。
GetFirstElem(ts TimeSeries, flags integer default 0) returns row;
与此函数等效的 API 为 ts_first_elem()。
包含时间系列第一个元素的行类型,或者 NULL(如果没有元素)。该行的类型与时间系列子类型相同。
select GetFirstElem(activity_data) from activity_stocks where stock_id = 600;