|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
哈哈.你们踢了那么久累不累啊?1 H- M+ ~, _ B+ l" L
会MYSQL语句的帮金光写个语句.然后好让他一次性查询出来1 d. k k0 a0 t) [+ i# y4 W( N
& H) U) z0 I5 { G2 H' x. k
1 S% W7 O, E* o# w$ r% Q8 u, Y$ S2 m
4 U5 p% o5 I3 ^8 G# a
select ( select count(*) as dd from pre_forum_post as a where a.fid='863265' and a.tid='105' and a.pid<b.pid order by pid) as xuhao, author, subject, message from pre_forum_post as b where b.fid='863265' and b.tid='105' and first=0 and mod(( select count(*) as dd from pre_forum_post as a where a.fid='863265' and a.tid='105' and a.pid<b.pid order by pid) ,25)=0 |
|