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
这样就可以了
分类: MySQL 评论(40) 浏览(24604)
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
这样就可以了
留下你的看法: