例如:一个二表连接的sql,有两种写法:
(1)select A.c1,A.c2,B.c1,B.c2
from table1 A,table2 B
where A.id=B.id (2)select A.c1,B.c2
from table1 A join table2 B
on A.id=B.id 哪种写法好呢?现在提倡用哪一种?
你喜欢用哪一种?
<div class="codetitle"><a style="CURSOR: pointer" data="61677" class="copybut" id="copybut61677" onclick="doCopy('code61677')"> 代码如下: