select distinctrow t.subject,t.author,f.name
from cdb_threads as t,cdb_forums as f
where f.fid in (1,5,8,10) && t.fid = f.fid
from cdb_threads as t,cdb_forums as f
where f.fid in (1,5,8,10) && t.fid = f.fid
调试欢乐多
帮你顶!
from cdb_threads as t,cdb_forums as f
where f.fid in (1,5,8,10) and t.fid = f.fid
order by t.dateline desc
limit 10
order by t.dateline desc
limit 10