mysql的distinct理解 select distinct id,name from route where update_time>=''; 上面的sql语句的逻辑是两条记录的id,name只要有一个不一样,就算不一样。 是不是这个逻辑还需要验证。