我用的是delphi+access,错误的地方如下:
ADOQuery1.SQL.Add('update toneclass set zhukemingci=(select count(*)+1'+
' from toneclass where toneclass.zhukezongfen>a.zhukezongfen) from toneclass a') ;
ADOQuery1.ExecSQL;
提示:语法错误(操作符丢失),在查询语句:(select count(*)+1 from toneclass where toneclass.zhukezongfen>a.zhukezongfen) from toneclass a中
ADOQuery1.SQL.Add('update toneclass set zhukemingci=(select count(*)+1'+
' from toneclass where toneclass.zhukezongfen>a.zhukezongfen) from toneclass a') ;
ADOQuery1.ExecSQL;
提示:语法错误(操作符丢失),在查询语句:(select count(*)+1 from toneclass where toneclass.zhukezongfen>a.zhukezongfen) from toneclass a中
解决方案 »
- 如何设置Dbgrid的行的高度?
- 我想继承一个FORM,但要求新的FORM和继承的父FORM一模一样~
- 有人用过kol吗?怎么把pstream中的东西转存到stream中?
- 用strcopy和strlcopy时出现问题
- 我做程序员感到压力好大,而且经常发火,希望大家也说两句,算是帮我 ......
- DELPHI中有没有象C语言那样的源程序美化小工具啊
- 哪位高手能将我的VB代码转换为Delphi? 多谢谢
- delphi下ffmpeg控件添加字幕问题
- DELPHI+Interbase,当SELECT时 想设只读锁定怎么办???
- 关于经验的问题?
- 能否通过一个循环语句来实现对名称赋值
- delphi那些默认图标在哪里
ADOQuery1.ExecSQL;
学号 分数 排名学号和分数都知道,怎么样得到排名呢,注意是在access中啊,在server 2000中我是知道的,就是上面的语句就可以了。