看板
[ Database ]
討論串[SQL ] 請問能否刪除某欄位重複的資料?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
可以利用 delete 配合 self-join,符合 on 條件式的資料即可刪除。. 下列的指令是假設您想刪除的是「kid 重複,但 id 編號比較大」的資料:. use test;. drop table if exists test;. create table test. (. id int
(還有166個字)
首頁
上一頁
1
下一頁
尾頁