【发布时间】:2016-05-11 06:23:17
【问题描述】:
我正在尝试在配置单元中连接字符串和子查询的输出。它在使用管道进行连接时引发错误。我的查询如下。
select id, ('hello:' || (select distinct(name) from abc c1 where c1.id=c2.id and balanc=(select max(balanc) from abc where c1.id=c2.id)) as description from pqr c2;
下面是错误堆栈:
无法识别表达式规范中 'select' 'max' '(' 附近的输入
我在这里很新。请协助。
【问题讨论】: