sql语句查询去除重复语句的结果集

返回operation表中time列的唯一值

语句1

select  time  from  operation   group  by  time   having count(time) > 1

语句2

select distinct time from operation;

原文地址:https://www.cnblogs.com/wei-jing/p/8206640.html