 explain (costs off, nodes off) select distinct count(distinct(b)) from t_distinct; select distinct count(distinct(b)) from t_distinct; explain (costs off, nodes off) select distinct count(distinct(a)) from t_distinct; select distinct count(distinct(a)) from t_distinct; 