Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP

来源:互联网 发布:淘宝加钱换购怎么设置 编辑:程序博客网 时间:2024/05/17 09:31

出错sql:select count(*),* from table;

exception如标题所示

改正:select count(*),* from table group by id;

原创粉丝点击