test
燕姿河南吧
全部回复
仅看楼主
level 4
sunlight9421 楼主
1.
SELECT * FROM   rsda   WHERE month(出生年月)<month(date()) and day(出生年月)<day(date())
2010年12月11日 07点12分 1
level 4
sunlight9421 楼主
2.
SELECT Rsda.*, LEFT(Rsda.工号,2) as 部门代码 FROM rsda
2010年12月11日 07点12分 2
level 4
sunlight9421 楼主
3.
SELECT min(公积金),max(公积金) to mingjj,maxgjj FROM rsda
2010年12月11日 07点12分 3
level 4
sunlight9421 楼主
4.
select 1 form rsda index on 工号 to ghselect 2 form kcm set relation to 工号 into alist fields a.姓名,year(date())-year(a.出生年月) for 课程名="英语阅读"SELECT Rsda.姓名, year(date())-YEAR(Rsda.出生年月) as 年龄FROM rsda!kcm INNER JOIN rsda!rsda ON Kcm.工号 = Rsda.工号 WHERE Kcm.课程名 = "英语阅读"
2010年12月11日 07点12分 4
level 4
sunlight9421 楼主
4..
select 1 form rsda index on 工号 to gh select 2 form kcm set relation to 工号 into a list fields a.姓名,year(date())-year(a.出生年月) for 课程名="英语阅读" SELECT Rsda.姓名, year(date())-YEAR(Rsda.出生年月) as 年龄FROM rsda!kcm INNER JOIN rsda!rsda ON Kcm.工号 = Rsda.工号 WHERE Kcm.课程名 = "英语阅读"
2010年12月11日 07点12分 5
level 4
sunlight9421 楼主
4
select 1 form rsda index on 工号 to gh   
2010年12月11日 07点12分 6
level 4
sunlight9421 楼主
select 2 form kcm set relation to 工号 into a
2010年12月11日 07点12分 7
level 4
sunlight9421 楼主
   list fields a.姓名,year(date())-year(a.出生年月) for 课程名="英语阅读" SELECT Rsda.姓名, year(date())-YEAR(Rsda.出生年月) as 年龄FROM rsda!kcm INNER JOIN rsda!rsda ON Kcm.工号 = Rsda.工号 WHERE Kcm.课程名 = "英语阅读"
2010年12月11日 07点12分 8
level 7
天啊 这是嘛
2010年12月11日 10点12分 9
1