以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  select  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=93948)

--  作者:刘林
--  发布时间:2016/12/11 22:17:00
--  select
cmd.CommandText = "SELE CT DISTINCT 学校名称, 年级, 班级, 学生姓名  From {学生信息} where  班级.substring(0,2) = \'小学\' And 学校名称 = \'" & schoolName & "\'"
想加个班级中前两位为“小学”,这样加行不行

--  作者:y2287958
--  发布时间:2016/12/11 22:44:00
--  
left(班级,2)
--  作者:有点蓝
--  发布时间:2016/12/12 8:32:00
--  
http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=50080