在Delphi中做一AdoQuery,设置好ConnectionString后,在Sql中写入如下语句:
Select Student.StuNO,Student.StuName,Score.StuNO,Score.Chinese,Score.English
From Student Left Join Score On Student.StuNO=Score.StuNO其中表有Student,保存学生基本情况,Score保存学生分数。两表以StuNO(学号)连接写入Sql后,让AdoQuery Active.结果报错。ORA-00933 Sql语句未正确结束。
如何是好?
Select Student.StuNO,Student.StuName,Score.StuNO,Score.Chinese,Score.English
From Student Left Join Score On Student.StuNO=Score.StuNO其中表有Student,保存学生基本情况,Score保存学生分数。两表以StuNO(学号)连接写入Sql后,让AdoQuery Active.结果报错。ORA-00933 Sql语句未正确结束。
如何是好?
解决方案 »
- 关于ORACLE数据库中如何查询生日
- 获取外部程序SysListView32每行每列的数据.UP者有份.
- 有用TAPI 3.0做过呼叫中心的程序吗,有话请给个例子
- DBExpress 连接 mysql 4.1.7的简单问题
- 为什么用excel建的表无法跟tale控件连接上,老是说没有table name
- 下面这段是动态生成TTabSheet的。生成可以。。但是我怎么按单独把它会一个个关闭呢??按当前的TTabSheet关闭,怎么做?
- 这个主从关系表如何建立?
- 又一个问题
- Delphi编程中的字体设置问题!!!
- 请教:Win32API函数SetWindowText怎样更新编辑框的内容
- 怎样让label的caption能竖着排列(不用换行符)?
- 请教动态报表
From Student,score
where Student.StuNO = Score.StuNO
:
要不换成这样看年
Select Student.StuNO,Student.StuName,Score.StuNO,Score.Chinese,Score.English
From Student,Score where Student.StuNO=Score.StuNO