------解决方案-------------------- select *from a where exists (select 1 from b where a.name=b.name)
------解决方案--------------------
------解决方案-------------------- select b.* from a,b where a.name = b.name;..这是oracle的~~~~O(∩_∩)O
------解决方案-------------------- select b.* from A a, B b where a.name = b.name