【发布时间】:2014-06-17 07:11:58
【问题描述】:
我有一个查询,输出为
无法确定多态类型,因为输入的类型为“未知”
查询:
select ( array_to_string(array_agg(name), ', '))::text as name,path
from(select 'fullpath' as Path,null as id,'' as name
from tblabc where key = 'key1' and value = '1'
) as e
group by path;
我有一个 postgres 数据库
【问题讨论】:
-
将 NULL 转换为某些数据类型或删除它,因为您不使用它。
标签: sql database string postgresql polymorphism