-- 投影列b既不在聚集函数中,也不在Group By中: select sum(a),b from t group by a; select * from t group by a; select b from t group by a; select a,b from t group by a; select sum(a+b),a from t group by a+b;