|
楼主 |
发表于 2010-6-29 14:35
|
显示全部楼层
我尝试了一下,这样写可以满足我的要求。谢谢panan12301大大!
SELECT "北京" as 地区, * FROM `D:\【北京】.xlsx`.[JZ$B2:AK300] UNION ALL
SELECT "东北" as 地区, * FROM `D:\【东北】.xlsx`.[JZ$B2:AK300] UNION ALL
SELECT "广东" as 地区, * FROM `D:\【广东】.xlsx`.[JZ$B2:AK300] UNION ALL
SELECT "湖北" as 地区, * FROM `D:\【湖北】.xlsx`.[JZ$B2:AK300] UNION ALL
SELECT "华东" as 地区, * FROM `D:\【华东】.xlsx`.[JZ$B2:AK300] UNION ALL
SELECT "华西" as 地区, * FROM `D:\【华西】.xlsx`.[JZ$B2:AK300] UNION ALL
SELECT "香港" as 地区, * FROM `D:\【香港】.xlsx`.[JZ$B2:AK300] |
|