查询id写错的主要这个意思?
select * from table1 a,table2 bwhere a.id = b.lid
嗯,谢谢了的确是这样的不过应该select * from table1 a,table2 b where a.id=1 and a.id=b.lid 这样才算完美了