select xh from cp where bj=1 group by xh order by ida desc 在查询分析器内总提示: 列名 'cp.ida' 在 ORDER BY 子句中无效,因为该列既不包含在聚合函数中,也不包含在 GROUP BY 子句中。 这是为什么??? 问题点数:20、回复次数:1Top
select xh from cp where bj=1 group by xh, ida order by ida descTop