惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
Y
Y Combinator Blog
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
博客园_首页
大猫的无限游戏
大猫的无限游戏
美团技术团队
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MyScale Blog
MyScale Blog
小众软件
小众软件
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
量子位
博客园 - 【当耐特】
J
Java Code Geeks
F
Fortinet All Blogs
宝玉的分享
宝玉的分享
Stack Overflow Blog
Stack Overflow Blog
博客园 - 司徒正美

博客园 - 梦飞天蝎

[导入]CCNA认证培训介绍 [导入]硬盘参数解读 [导入]SCSI技术 [导入]常用的硬盘接口类型IDE、SCSI、SATA [导入]SCSI卡(图解) [导入]什么是RAID控制器 [导入]微软Office InfoPath 2003概述(转贴) [导入]关于在MOSS的编辑或新建页面隐藏栏 [导入]FTP两种传输模式小结 [导入]sp_unprepare是做什么用的 [导入]left join 的 右表 加条件 某个字段 is not null 是不是无效啊 [导入]案例入厂前和离职后的旷工都清除掉,但无法清除离职前的旷工记录喔20080304 [导入]案例做出考勤月报表20080303 [导入]SqlServer如何生成动态交叉表查询 [导入]where jzno is not null还可以怎么表达呢 [导入]表变量在存储过程中出现了"必须声明变量"的错误,已经声明了啊 [导入]SQL Server字符串处理函数大全 [导入]sql server 的日期转换函数 [导入]SQL数据文件恢复高级篇
[导入]案例20080220 列出台籍人员全年出勤
梦飞天蝎 · 2008-02-20 · via 博客园 - 梦飞天蝎

select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200701 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200702 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200703 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200704 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200705 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200706 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200707 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200708 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200709 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200710 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200711 where bmmc like '%台籍%'
union all
select no,name,kqrq,weeks,sksj,ycq,cqxs,kgxs,ycyy,qjxs,jzmc from rb200712 where bmmc like '%台籍%'
 
order by no

[此帖子已被 fzonet 在 2008-2-23 21:29:36 编辑过]
文章来源:http://bbs.fzonet.com/rcds/ShowPost.asp?ThreadID=1633