Home  >  Article  >  Backend Development  >  求多张关联表的SQL语句,该怎么处理

求多张关联表的SQL语句,该怎么处理

WBOY
WBOYOriginal
2016-06-13 12:00:31827browse

求多张关联表的SQL语句
我也不知道描述清楚没有,望各位前辈指点。



------解决方案--------------------

<br /><br />select * from a,b,c where a.KSBH = C.KSBH and a.XMBH = b.XMBH where b.TJDJBH = '10001041' and a.KSBH = '01'<br />//描述的不够清晰;不知道是不是这个<br /><br />

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn