select uid,username,title_template,title_data,feedid from uc_feeds as a where feedid in(select max(feedid) from uc_feeds as b where a.uid=b.uid) order by feedid desc limit 10
这样就可以了