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
轉載于:https://www.cnblogs.com/love828/archive/2013/06/11/3131637.html
總結
以上是生活随笔為你收集整理的ACCESS中不支持left join解决方案的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: proceXP
- 下一篇: PG git pull