日期:2014-05-17 浏览次数:20809 次
with tbA as
(
select 1 id,'china' name from dual union all
select 2 id,'usa' name from dual
),tbB as
(
select 1 id,1 aid,1 type from dual union all
select 2 id,1 aid,1 type from dual union all
select 3 id,1 aid,2 type from dual union all
select 4 id,1 aid,3 type from dual union all
select 5 id,2 aid,1 type from dual union all