日期:2014-05-18 浏览次数:20592 次
SELECT Title FROM 表1 A INNER JOIN 表2 B ON A.ID = B.MID
------解决方案--------------------
select title from 表1 t where exists(select 1 from 表2 where min=t.id)
------解决方案--------------------
select title from 表1 t where exists(select 1 from 表2 where mid=t.id)
------解决方案--------------------
问题1,
SELECT A.ID,A.Title,A.NAME FROM 表1 A, 表2 B where A.ID = B.MID