|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
哈哈.你们踢了那么久累不累啊?
9 \3 _- a' f* S8 R/ T9 ~% B会MYSQL语句的帮金光写个语句.然后好让他一次性查询出来9 N$ z: t/ h" h5 J, o+ L
! S. u1 w- K/ }6 A/ _) r% F! @5 m9 t2 n, F* I$ t4 _
1 V/ U2 e8 k) o9 b7 T3 p
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 |
|