忘了说mysql是4.0.2版的 不支持子查询

解决方案 »

  1.   

    select id,postTime from topic where parentID=123 order by id desc limit 10;
    应该可以吧
      

  2.   

    用子查询就可以:
    select id,postTime from (select id,postTime from topic order by id desc limit 10) as a
    where a.parentID=123;
      

  3.   

    select  *  from  issu_info  limit  0,6  
     
    Limit  0,6  
    这里是对的,显示前6条  
     
     
    select  *  from  issu_info  limit  7,6;  
     
    Limit  7,6  
    从第8条开始取,取6条