找回密码
 注册
查看: 2659|回复: 0

求助关于sqldf package

[复制链接]
发表于 2015-1-13 14:49:12 | 显示全部楼层 |阅读模式
语句tmp2 = sqldf("select tmp2.*,sum(a.total_cost) as sum_cost, sum(a.outcome) as dead from 'tmp2', 'aki.adm.uniq' as a where a.uniq_id=tmp2.uniq_id and a.date_in>=tmp2.date_in and a.date_out<= tmp2.date_out group by tmp2.uniq_id, tmp2.date_in")错误提示:Error in sqliteSendQuery(con, statement, bind.data) : error in statement: no such column: a.total_cost
求高手指点

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-21 17:17 , Processed in 0.025408 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表