mysql GROUP BY去重报错,可以外面在套一层查询

猿份哥 3月前 ⋅ 91 阅读
SELECT
	* 
FROM
	( SELECT s.id, c.NAME FROM tbl_stu s, tbl_city c WHERE s.id = c.stu ) aa 
GROUP BY
	s.id,
	c.NAME

全部评论: 0

    我有话说: