2009年11月12日
摘要: 每个类别提取最新一条记录按编号来:select max(topicid) as topicid from tb_bbs_topic where boardid in(6,10,34,12,33,13,18,21,51,49) group by boardid如果是按日期来的话:select * from tb_bbs_topic ainner join (select boardid, max(d... 阅读全文
posted @ 2009-11-12 12:41 fery 阅读(342) 评论(1) 推荐(0)