1:  你的查询语句??
2:SELECT VERSION();

解决方案 »

  1.   

    SELECT a.*, b.*, c.banj, e.xib
    FROM score AS a, fenshu AS b, xhgrade AS c, gradedepartment AS e
    WHERE a.xueh=b.xueh and a.xueq=b.xueq and c.xueh=a.xueh and e.banj=c.banj;
    我的表里面没有索引,后来我加了几个索引上去,可是列乱套了,查出来的数所都是重的.
      

  2.   

    Select a.*,b.* 有問題, 改為 
    Select a.xueh,a.xueq 具体列完所需要的..
      

  3.   

    沒有好辦法不防試下加上括號,或者先試連兩個表,看不如何.
    WHERE (a.xueh=b.xueh) and (a.xueq=b.xueq) and (c.xueh=a.xueh) and (e.banj=c.banj)
      

  4.   

    噢,谢谢各位,我只要在select 后面加个distinct就解决问题了.