我做了一个测试下面是通过的SELECT *,MIN(id), COUNT(openid) AS c FROM user GROUP BY `openid` HAVING c >1下面的写法就会报错SELECT MIN(id),*, COUNT(openid) AS c FROM user GROUP BY `openid` HAVING c >1sql里是有这个规定吗
添加回答
举报
0/150
提交
取消