2021年12月29日 星期三

SQL_基本語法(使用環境_Excel)

     新環境沒有的Office沒有達到Power Query的最低配置office 2016,只能把以前的方法拿出來用,VBA+SQL,現在開始記錄一下各種寫法


select * from ['Select_accounts$'] where 業務 not like "%二%" and 業務 not like "%一%" 


select distinct 部門代碼 from [fnd_gf\m_15542471$] where 來源 like "M%" and 部門代碼 not in ('1184','1488','1531','1568','1698','43')

沒有留言:

張貼留言