zoukankan      html  css  js  c++  java
  • ACCESS中不支持left join解决方案

    今天在做基于 access数据库项目中,做外连接时,发现Access不支持两个以上的 left join 在网上查一下,有哥们说每个 left join 要加 () 
       在修改之前(不能执行,ms sql 里执行以通过)
           select table1.fildes1, table1.fildes2,table2.fildes1, table2.fildes2,table3.fildes1, table3.fildes2  from
    table1 left join table2 on table1.fildes1= table2.fildes1 left join table3 on  table1.fildes1= table3.fildes1
     修改之后(执行通过)  每个 left join 要加 ()
           select table1.fildes1, table1.fildes2,table2.fildes1, table2.fildes2,table3.fildes1, table3.fildes2  from
    ((table1 left join table2 on table1.fildes1= table2.fildes1) left join table3 on  table1.fildes1= table3.fildes1

  • 相关阅读:
    Codeforces 1354C2
    Codeforces 1354C1
    Codeforces 1355C
    Codeforces 1353D
    Codeforces 1352
    Codeforces 1351C
    Codeforces 1344B/1345D
    Codeforces 1342D
    Codeforces 1340B/1341D
    Codeforces 1343D
  • 原文地址:https://www.cnblogs.com/love828/p/3131637.html
Copyright © 2011-2022 走看看