首页 > 数据库 > MySQL > 正文

mysql命令

2024-07-24 12:35:59
字体:
来源:转载
供稿:网友
  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;
  增加条件

(编辑:武林网)

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表