sql查询语名

rufer 2004-03-31 07:01:51
select flower.id,flower.num,flower.name,flower.date,flower.mem from flower,lclient,(select * from client where name = '123') where lclient.clientid=client.id and lclient.flowerid=flower.id

为什么这样的语名在SQL Explorer可以运行,而加入adoquery的SQL中这不能得到数据啊?
ado访问Assess数据库
...全文
59 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Tensionli 2004-03-31
  • 打赏
  • 举报
回复
ACCESSK中不能使用嵌套,还是想别的办法吧
select flower.id,flower.num,flower.name,flower.date,flower.mem
from flower,lclient,client
where lclient.clientid=client.id and lclient.floweid=flower.id and client.name='123'
看看这个行吗.
rufer 2004-03-31
  • 打赏
  • 举报
回复
在线。请指教

5,388

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧