找出所有不重复的数据

SELECT   [Id]
      ,[Name]
      ,[Mobile]
      ,[City]
      ,[Counter]
      ,[utm_source]
      ,[utm_medium]
      ,[utm_campaign]
      ,[source]
      ,[smsResponse]
      ,[CreateTime]
  FROM [dbo].[Campaigns]
where id in (select max(ID) as Id from [Campaigns] group by [Mobile])  

相关文章:

  • 2021-11-01
  • 2021-08-03
  • 2022-02-18
  • 2022-12-23
  • 2021-09-07
  • 2021-08-02
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2021-07-13
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案