版本 3.3.13
with base_table as ( select xxxx )
(select count(1) from base_table where col1=‘1’ )
union all
(select count(1) from base_table where col1=‘2’ )
union all
(select count(1) from base_table where col1=‘3’ )
看了 profile 并没有重用 .
版本 3.3.13
with base_table as ( select xxxx )
(select count(1) from base_table where col1=‘1’ )
union all
(select count(1) from base_table where col1=‘2’ )
union all
(select count(1) from base_table where col1=‘3’ )
看了 profile 并没有重用 .