网站首页 站内搜索

搜索结果

查询Tags标签: peopleId,共有 2条记录
  • SQL查询重复记录

    1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断 select * from people where peopleId in (select peopleId from people group by peopleId having count(peopleId) > 1) 2、删除表中多余的重复记录,重复记录是根据单个字段(peop…

    2022/4/6 19:20:10 人评论 次浏览
  • SQL查询两个表相同的两个字段里不同的数据有哪些

    https://zhidao.baidu.com/question/243124782.html展开全部select * from Ainner join B on A.Name = B.Name and A.ID = B.IDwhere A.Name = 张三 and A.ID = 008内连接即可或者:1、除重select distinct A.ID AS AID,A.Name AS AName,B.ID AS BID,B.Name AS BName from…

    2021/4/30 2:27:05 人评论 次浏览
扫一扫关注最新编程教程