with (
SELECT sum(n_net_prm)
from ads.policy_channel_01
) as totalNum
– select * from t
SELECT totalNum,*
from ads.policy_channel_01
报错:SQL 错误 [1064] [42000]: Getting syntax error at line 1, column 70. Detail message: No viable statement for input ‘with (’.