tangtangsimida


1.删除重复,保留一条groupID最小那一天

delete * from [Metadata_ForGZBB].[dbo].[Group] where groupID<>(select MIN(groupID) from [Metadata_ForGZBB].[dbo].[Group] a where a.groupName='S送水泵房总站') and groupName='S送水泵房总站'

相关文章:

  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2020-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-10-30
相关资源
相似解决方案