[SQL ] 想問SQL語法
請問各位
我有A,B兩個資料表
每個資料表 有id, colunm1,column2
如果我用recordset選取兩個資料表, recordset要轉印到excel
以下 table C是想像的TABLE 最終我要用
Sheets(1).Range("a1").CopyFromRecordset rst 來轉印到excel
########我想要的選法
id => table C id
A 的 column1 =>>> table C的 D1
B 的 column1 =>>> table C的 D2
A的column1-B的column2 =>>>>>>table C的D3
且ID要介於 10到100
##########
請問這個rst.open SQL 寫法 要怎麼寫呢?
我用的是access and excel
謝謝各位~
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.185.87.21
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):