首页 > 技术文章 > mysql distinct 解决不了的小问题

kdx-2 2018-05-18 16:36 原文

SELECT id ,NAME,COUNT(NAME) FROM class GROUP BY NAME;

 

推荐阅读