发布网友
共3个回答
热心网友
由于你的update_time不同,所以你select出来的是不同的,除非你将update_time 去掉,我遇到过很多次这个问题,解决不了~~~假如你只是要找出用户,那就不要update_time了,如果你还想找出update_time。。额,很抱歉,实现不了,有个办法,就是将所有的update_time都连接在一起,但是很麻烦,因为你不知道该用户参加了多少个话题。。。没了。。。
热心网友
select uid,max(update_time) from table_member group by uid order by uid
热心网友
distinct(uid)
试一下 再加个 group by uid