本帖最后由 t240034137 于 2011-01-28 11:08:22 编辑

解决方案 »

  1.   

    事情急 没SQL的话 求数据库表结构~!
      

  2.   

    连表吧
    数据库表结构网上有很多,我原来找7.2的老找不到,不过6.1的好像还是有的
    对数据库很菜,大致这样你试一试:
    update table_users set rand = n where uid in(select uid from table_post where time > time1 and time < time2 and (select count(*) from table_post) >= 100)