|
发表于 2010 年 11 月 22 日 11:46:58
|
显示全部楼层
select author, count(*) from pre_forum_post_2 as b where b.fid='105' and b.tid='863265' and first=0 and mod(( select count(*) as dd from pre_forum_post_2 as a where a.fid='105' and a.tid='863265' and a.pid<b.pid order by pid) ,25)=0 group by author
4 P0 e1 ]0 ^2 Q) A
; {0 R2 D% s+ |4 S: [7 R3 s8 Rselect ( select count(*) as dd from pre_forum_post_2 as a where a.fid='105' and a.tid='863265' and a.pid<b.pid order by pid) as xuhao, author from pre_forum_post_2 as b where b.fid='105' and b.tid='863265' and first=0 and mod(( select count(*) as dd from pre_forum_post_2 as a where a.fid='105' and a.tid='863265' and a.pid<b.pid order by pid) ,25)=0
7 N# Q' C1 g. q% Z" E2 E2 O6 g5 f这个是显示发帖的楼层数
2 N" T3 L9 S4 m |
|