oracle刪除相同記錄中的一條

表TEST

  1. idno      name     age
  2. 1001         a       18
  3. 1001         a          18

查出rowid

select  t.*,t.rowid from test as t where t.idno='1001'; 

刪除其中一條數據:

delete from test as t where t.rowid='';



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章