日期:2014-05-16 浏览次数:20848 次
Select a.id,a.content,a.shijian,a.jine,a.fenlei,a.tenderid,b.tenderid,b.userid,b.classid From a,b Where a.tenderid = b.tenderid
或:
Select a.id,a.content,a.shijian,a.jine,a.fenlei,a.tenderid,b.tenderid,b.userid,b.classid From a Left Join b On a.tenderid = b.tenderid
SELECT b.tenderid,b.userid,b.classid,a.id,a.userid,a.content,a.jine,a.shijian
from a,b
where a.tenderid=b.tenderid
select b.tenderid ,content,shijian,jine,fenlei from
B b
LEFT JOIN
A a
ON b.tenderid=a.tenderid