|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
SELECT "2006" AS 年度,"上海" AS 地区,"1月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2006\上海.XLS`.`1月$] UNION ALL SELECT "2006" AS 年度,"上海" AS 地区,"2月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2006\上海.XLS`.`2月$] UNION ALL SELECT "2006" AS 年度,"上海" AS 地区,"3月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2006\上海.XLS`.`3月$] UNION ALL SELECT "2006" AS 年度,"温州" AS 地区,"1月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2006\温州.XLS`.`1月$] UNION ALL SELECT "2006" AS 年度,"温州" AS 地区,"2月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2006\温州.XLS`.`2月$] UNION ALL SELECT "2006" AS 年度,"温州" AS 地区,"3月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2006\温州.XLS`.`3月$] UNION ALL SELECT "2007" AS 年度,"上海" AS 地区,"1月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2007\上海.XLS`.`1月$] UNION ALL SELECT "2007" AS 年度,"上海" AS 地区,"2月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2007\上海.XLS`.`2月$] UNION ALL SELECT "2007" AS 年度,"上海" AS 地区,"3月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2007\上海.XLS`.`3月$] UNION ALL SELECT "2007" AS 年度,"温州" AS 地区,"1月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2007\温州.XLS`.`1月$] UNION ALL SELECT "2007" AS 年度,"温州" AS 地区,"2月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2007\温州.XLS`.`2月$] UNION ALL SELECT "2007" AS 年度,"温州" AS 地区,"3月" AS 月份,* FROM[C:\Documents and Settings\gzzz\桌面\Test\2007\温州.XLS`.`3月$]; |
|