简单问题——关于查询 现有table(名为student),其中一字段名为no,取值为****01**,****50**,诸如此类倒数三四位需要提取进行比较,将其在01至20的记录取出,并显示在dbgrid中,以及生成一个新表(名为result)怎么写这段代码? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 是sqlserver的话:select * from student where substring(no,5,2)=>'01' and substring(no,5,2)<='20' select * from student where substring(no,5,2) between '01' and '20' SELECT INTO 语句创建一个新表,并用 SELECT 的结果集填充该表。新表的结构由选择列表中表达式的特性定义: select * from student where substring(no,5,2) between '01' and '20' newtablename select * from student where substring(no,5,2) between '01' and '20' into result Aero玻璃效果在Delphi6中的实现[邮箱发放代码] 如何判断自定义指针的类型? 在线紧急求助,如何在制作安装程序时添加使用的时间限制? 装的组件怎么卸载?? 如何更好的管理程序的版本? 如何按要求关闭IE浏览器? 如何取得一个目录下的所有文件? 使用delphi调用网站的asp的问题 大家一起来分析一下,这个问题: 关于16进制UDP发送问题。特急!!! 求退出函数或过程的语句 急急!!!请问哪里有DevExpress QuantumGrid 3.22 for D7 下载???只有这点分了
select * from student where substring(no,5,2)=>'01' and substring(no,5,2)<='20'
select * from student where substring(no,5,2) between '01' and '20'
select * from student where substring(no,5,2) between '01' and '20' newtablename
into result