sql中having的用法

2025-04-27 15:49:07
推荐回答(1个)
回答1:

你这个语句都错了, 怎么还能显示全部呢?

你的group by语句应该这样写才行

 group by st.stuName,st.stuId,subName
 having ...