select dept_id,dept3_name from '.\data\dept_info' into cursor dept_cursor group by dept_id order by dept_id
以上命令行在VFP6运行正确,在VFP9里运行报错:“SQL:缺少GROUP BY 子句或GROUP BY子句无效。”
请问哪位朋友知道是什么问题吗?先谢谢了!
...全文
1344打赏收藏
关于VFP9运行SQL语句select报错的问题
select dept_id,dept3_name from '.\data\dept_info' into cursor dept_cursor group by dept_id order by dept_id 以上命令行在VFP6运行正确,在VFP9里运行报错:“SQL:缺少GROUP BY 子句或GROUP BY子句无效。” 请问哪位朋友知道是什么问题吗?先谢谢了!