求高手帮帮忙,不胜感激!! ------解决方案-------------------- 为什么不直接合并?
select a.id,a.name ------解决方案-------------------- b.name from tab_a a,tab_b b where a.id=b.id order by 1
------解决方案--------------------
为什么要用GROUP BY,直接连接啊。
select t1.rn, t1.name ------解决方案-------------------- t2.name
from (select rownum rn, t1.name from t1 where rownum < 5) t1,
(select rownum rn, t2.name from t2 where rownum < 5) t2
where t1.rn = t2.rn
------解决方案-------------------- select a.id,a.name ------解决方案-------------------- b.name name from a,b where a.id=b.id,得附加匹配条件