Home > Database > Mysql Tutorial > mysql-下面两个查询语句有什么区别

mysql-下面两个查询语句有什么区别

WBOY
Release: 2016-06-06 09:33:32
Original
1142 people have browsed it

mysqlsqloracle

<code>SELECT A.YWSJMS1 as ywsjms1 ,A.YWSJMS1 as ywsjms2,A.YWSJ1 as ywsj1,A.cjsj as cjsj,B.DDLB as ddlb from GY_XT_CZJL A, SW_DD_JL B  where A.SCBJ= 0 AND B.SCBJ=0 AND A.YWSN=B.SNSELECT A.YWSJMS1 as ywsjms1 ,A.YWSJMS1 as ywsjms2,A.YWSJ1 as ywsj1,A.cjsj as cjsj,B.DDLB as ddlb from GY_XT_CZJL A  LEFT JOIN SW_DD_JL B   ON A.SCBJ= 0 AND B.SCBJ=0 AND A.YWSN=B.SN</code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template