Study everyday from now on!

查找列中重复和不重复的记录的方法

上一篇 / 下一篇  2014-01-16 20:48:39 / 个人分类:数据库

---找出列中不重复的记录
select distinct t.c  from a.b t  
---找出列中重复的记录
select  t.c  from a.b t group by t.c having count(1) >1
 
---数据路由
select * from all_tables w where w.table_name like upper ('%service_example_t%')

TAG:

 

评分:0

我来说两句

Open Toolbar