这个问题该如何用SQL解决? 教师任课记录表包括时间字段,还要有教师名表;两表一对多建立关联select * from 教师任课记录表,教师名表 where 时间在范围即可。你自己慢慢试验吧,我要睡觉了。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 错了,select * from 教师任课记录表,教师名表 where 时间在范围 and 教师名=...Goto Sleep!!! Select TeacherID from Table_ClassWhere ClassDate>=BeginDate AND ClassDate<=EndDateGroup By TeacherID 再通过记录集求记录数,应该没问题吧! Select TeacherID from Table_ClassWhere ClassDate>=BeginDate AND ClassDate<=EndDateGroup By TeacherID ~~~~~~~~~~主要是这一句Group By select distinct Teacherid from Table Where ClassDate>=BeginDate AND ClassDate<=EndDate select distinct TeacherID from teacher_classwhere classdate>=begindate and classdate<=enddategroup by TeacherID JYYF21(七剑飞仙) :很好是我的意思!很满意!! select * from 上课教师 where xxx delphi xe2 webbrowser使用问题,载入页面内容有时候会变成空白的。 dxDBGrid数据导出Excel Canvans上写文字,怎么去掉? 关于XMLDocument的问题 各位大侠手里有没有 Dbi-tech Component Toolbox 6.0 这个控件组,本人哭求! 请教IOComp的TiPlot的曲线? 语法的问题 一个问题等待解决,在线等 程序运行的参数问题 delphi+access2000中dbgrid数据显示的总题? 我写了个程序实现通过MODEM传送文件,但如果断线,怎样才能在程序中马上获知断线这个状态? 请问那有*.ico图标下载?
Where ClassDate>=BeginDate AND ClassDate<=EndDate
Group By TeacherID 再通过记录集求记录数,应该没问题吧!
Where ClassDate>=BeginDate AND ClassDate<=EndDate
Group By TeacherID
~~~~~~~~~~主要是这一句Group By
where classdate>=begindate and classdate<=enddate
group by TeacherID
where xxx