我的 order by 为什么总是不生效呢?
一休宗纯 2010-08-02 10:57:45 sql = "select tDept.dept_seq,tDept.dept_name,tUser.name,day(tGrade.pub_date) as pub_day, tGrade.* from tDept,tUser,tGrade where tDept.id=tUser.dept_id and tUser.id=tGrade.user_id and year(pub_date)=2010 and month(pub_date)=8 ORDER BY tDept.dept_seq"
我发现不管我加不加 order by 都没有什么效果,请有识之士帮我看一看.