select /*+ PARALLEL(s 24) */ count(*) from (select /*+ parallel(s 24) */ * from tabsga s group by a);