sql查询怎么去重啊?select id,name,dptidfrom a显示的是:id name dptid1 张三 12 李四 13 王五 2distinct不管用啊,查出来还是这样,但是我想要的是这样:id name dptid1 张三 13 王五 2(此问题已解答,如图)