初学者提问:怎么查出数据库中相同记录的数量
菜鸟提问:如何查出数据库中相同记录的数量?
RT
------解决方案--------------------
select id , count(*) from tb group by id
RT
------解决方案--------------------
select id , count(*) from tb group by id