看看是不是需要这样.没有太明白你的需求<br>select table2.employeeid ,table2.curdate,table1.starttime,table1.endtime from table2 left join table3 on table2.employeeid =table3.employeeid left join table1 on table2.classid =table1.autoid where <br>(curdate >=cast('2008-02-01' as datetime))and(curdate<=cast('2008-02-03'as datetime))<br>///注:'2008-02-01'和'2008-02-03'分别是你的日期范围