Oracle面试题 删除重复的数据而且保留最大的id

在执行代码前spa 在执行此代码后select delete  from student where  ROWID not in  (    select Max(rowid) from student     GROUP  by stuname,stuage     HAVING (count(*)=1)    UNION    select Max(rowid) from student   
相关文章
相关标签/搜索