日期:2014-05-17 浏览次数:20688 次
create table empInfo
(cardno varchar(10),dept varchar(20),name varchar(10))
insert into empInfo
select '1000000001','部门一','张三'
union all select '1000000002','部门一','李四'
union all select '1000000004','部门二','王五'
union all select '1000000010','部门四','赵六'
create table daka
(PeoNo varchar(10),KqDate varchar(00),KqTime varchar(10))
insert into daka
select '1000000001','2013-10-08','07:45'
union all select '1000000002','2013-10-08','07:53'
union all select '1000000004','2013-10-08','07:45'
union all select '1000000002','2013-10-08','16:53'
union all select '1000000004','2013-10-08','17:02'
卡号 姓名 部门 日期 上午打卡时间 下午打卡时间
1000000001 张三 部门一 2013-10-08 07:45
1000000002 李四 部门一 2013-10-08 07:53 16:53
1000000004 王五 部门二 2013-10-08 07:45 17:02
1000000010 赵六 部门四 2013-10-08
create table empInfo
(cardno varchar(10),dept varchar(20),name varchar(10))
insert into empInfo
select '1000000001','部门一','张三'
union all select '1000000002','部门一','李四'
union all select '1000000004','部门二','王五'
union all select '1000000010','部门四','赵六'
create table daka
(PeoNo varchar(10),KqDate varchar(10),KqTime varchar(10))
insert into daka
select '1000000001','2013-10-08','07:45'
union all select '1000000002','2013-10-08','07:53'
union all select '1000000004','2013-10-08','07:45'
union all select '1000000002','2013-10-08','16:53'
union all