在一张表中查找多余的重复记录(多个字段)
select * from afa_nw_maindict a where (a.abtrancode,a.dictname) in ( select abtrancode,dictname from afa_nw_maindict group by abtrancode,dictname having count(*) >1 )
视图
- 什么是视图?
- 为什么用视图?视图的作用?
- 视图的用法?
索引
- 什么是索引?
- 为什么用索引?索引的作用?
- 索引的用法?
存储过程
- 什么是存储过程?
- 为什么用存储过程?存储过程的作用?
- 存储过程的用法?