Oracle_分組查詢_group_by

sqlweb select temp.code,temp.counts FROM ( select code,count(sexType) as counts from t_class where sexType= 2 group by code )temp where temp.counts>2
相關文章
相關標籤/搜索