select a.lng,a.lat from (select row_number() over ( partition by uid,grid_id) as rnum,weighted_centroid_lon as lng,weighted_centroid_lat lat from resultcccc)a where a.rnum = 1;返回每组的第一条记录,速度贼溜