mysql命令

select ip,count(*) as count from interface group by ip having count>1;
查看 interface表中 ip字段重複的

select ip,count(*) as count from interface where port = "10050" group by ip having count>1;
增加條件

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章