distinct去重

1、单字段去重 select distinct aly_layer  from  t_aly_il_result

2、多字段去重  select distinct aly_layer,CREATE_TIME from  t_aly_il_result

 

 3、对去重字段进行统计 select count(distinct aly_layer) from  t_aly_il_result

 

posted @ 2020-05-28 11:59  蜕变1  阅读(330)  评论(0编辑  收藏  举报