SELECT高級操做

having 例4:統計1班的學生人數,列出班號和人數 select 1 班號,count() 人數 from stu where cno=1; 或者: select cno 班號,count() 人數 from stu group by cno having cno=1; having相對於where來講會有些浪費資源 視圖view 建立視圖語法:create view vtb_name as
相關文章
相關標籤/搜索