问个dbaccess中select的问题
dbaccess数据库中:
table中有表:function_define
Column name Type Nulls
func_name char(15) no
func_desc char(150) no
func_define char(500) no
para_num integer yes
return_num integer yes
temp char(10) yes
执行select语句
SQL: New Run Modify Use-editor Output Choose Save Info Drop Exit
Modify the current SQL statements using the SQL editor.
----------------------- test@onlietest --------- Press CTRL-W for Help --------
select * from function_define
----------------------------------------------------------
在运行结果中可以找到:
func_name city_premium
func_desc 取?单位?险种?版别?年?月趸交保费累计
func_define select sum(premium),center_code,s01,s03,year_month,s04 from city_f
eem where center_code=? and s01=? and s03=? and mid(year_month,1,4
)=? and year_month =? and s04='5' group by center_code,s01,s03,yea
r_month,s04
para_num 5
return_num 6
temp
但是当运行下列select语句时
select * from function_define
where func_name=city_premium
找不到city_premium
提示: 217: Column (city_premium) not found in any table in the query (or SLV is u
请问是我哪里做错了么
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你的表function_define里确实没有city_premium啊