sql語句中 group by 和 having 的使用

group by name :意爲對name進行分組(name表示屬性)spa group by name having 條件A :意爲對name分組後,再根據條件A進行刪選數學   例子:table 表tableselect name     course    score數據 A            數學        80查詢 A            科學        90tab A 
相關文章
相關標籤/搜索