我做了一个测试下面是通过的
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 >1
sql里是有这个规定吗
吃鸡游戏
相关分类