Обычный способ сделать это - объединить SUM
+ DECODE
, например,
SQL> with job_seek_experience
2 (exp_seek_id, experience, abroad) as
3 (select 146, 1, 'Y' from dual union all
4 select 146, 6, 'Y' from dual union all
5 select 146, 3, 'N' from dual union all
6 --
7 select 222, 4, 'Y' from dual
8 )
9 select exp_seek_id,
10 sum(decode(abroad, 'Y', experience)) abroad,
11 sum(decode(abroad, 'N', experience)) domestic
12 from job_seek_experience
13 where exp_Seek_id = 146
14 group by exp_Seek_id;
EXP_SEEK_ID ABROAD DOMESTIC
----------- ---------- ----------
146 7 3
SQL>
интересная часть для вас - строки 9-14 (CTE isn 'неужели это интересно?).