SELECT * FROM `uchome_thread` AS `thread` WHERE `thread`.`uid` in ('44') AND `thread`.`tagid` in ('28','35','37','33','38','39','40','41','42') ORDER BY `thread`.`dateline` DESC
select * from uchome_mtag s,uchome_thread sf where s.tagid=sf.tagid and sf.uid in ('44') and sf.tagin in ('28','35','37','33','38','39','40','41','42') ORDER BY sf.dateline DESC
这个问题,我解决了,谢谢!我是这样写的
SELECT * FROM `uchome_mtag` AS `mtag`,`uchome_thread` AS `thread` WHERE `mtag`.`tagid` = `thread`.`tagid` AND `thread`.`uid` in ('44') AND `thread`.`tagid` in ('28','35','37','33','38','39','40','41','42') ORDER BY `thread`.`dateline` DESC