SQl 根據某列去重 partition by

  主鍵爲ID select * from [infotops] where Id in (select max(id) from [infotops] group by InfoId)      ----------------------------------------------------- 鞏固---------------------------------------------
相關文章
相關標籤/搜索