我试图对配置单元中的两个内部查询的计数求和,但这会引发错误“not yet supported place for udaf count”。有什么建议就好了
SELECT sum(count(distinct session),count(distinct session1)) FROM (
select concat(high, low, visit_num) as session from tab1
union all
select concat(high, low, visit_num) as session1 from tab2)t;
1条答案
按热度按时间webghufk1#