即使有一个名为Income_prediction的代理,以下命令也不起作用
select v.which,
max(case when seqnum = 1 then val end),
max(case when seqnum = 2 then val end),
max(case when seqnum = 3 then val end),
max(case when seqnum = 4 then val end)
from (select t.*,
row_number() over (order by tblDataYears_Id) as seqnum
from tblDataYears t
) t cross apply
(values (t.tblDataYears_Year, 'Year'),
(t.tblDataYears_Grade, 'Grade'),
(t.tblDataYears_ServicePeriod, 'ServicePeriod'),
(t.tblDataYears_DirectAnnual, 'DirectAnnual)
) v(val, which)
group by v.which;
我得到一个:
SELECT
答案 0 :(得分:0)
您缺少必需的--organization参数(该参数指定要为其创建产品的组织)。由于某些原因,apigeetool并没有要求它(应该)。