SELECT
TableType,
COUNT(Id)
FROM TableName GROUP by TableType having COUNT(Id) >1
SQL查询一张表中某一个字段内容重复的条数
最新推荐文章于 2023-07-02 16:10:01 发布
SELECT
TableType,
COUNT(Id)
FROM TableName GROUP by TableType having COUNT(Id) >1