根据某一个字段删除表中重复的记录

来源:互联网 发布:手机测光软件 编辑:程序博客网 时间:2024/06/10 12:31

select * from menus where parentid = 300 group by menuname having count(id)>1;


查询表里某个字段有重复值



0 0