本帖最后由 bqridt 于 2012-05-16 19:19:13 编辑

解决方案 »

  1.   


    disc zttag
    看一下表的数据有哪些?,tid是数字类型吗?
    对于第二个问题,我也不会
      

  2.   

    select a.id,z.subject,count(*)
    from zttag a ,ztthread b
    where instr(a.subject,b.key)
    group by a.id
    order by 3 desc 
    limit 5
      

  3.   


    怎么这么复杂,其实我也想不通为什么select * from zttag where tid=1不对