- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
5 Aggregating Data Using Group Functions - cchristopherlee.ppt
5 Aggregating Data Using Group Functions Important Legal Notice: Materials on this lecture are from a book titled “Oracle Education” by Kochhar, Gravina, and Nathan (1999), published by Oracle Corp. For further information, visit This presentation must be used for only education purpose for students at Central Washington University which is a member of Oracle Academic Initiatives (OAI) and has used Oracle systems for HRIS Accounting Systems as a database platform embedded on its PeopleSoft ERP system, since 1999. Objectives After completing this lesson, you should be able to do the following: Identify the available group functions Describe the use of group functions Group data using the GROUP BY clause Include or exclude grouped rows by using the HAVING clause What are Group Functions? Types of Group Functions AVG COUNT MAX MIN STDDEV SUM VARIANCE Using Group Functions Using AVG and SUM Functions Using MIN and MAX Functions Using the COUNT Function Using the COUNT Function Group Functions and Null Values Using the NVL Function with Group Functions Creating Groups of Data Creating Groups of Data:GROUP BY Clause Using the GROUP BY Clause Using the GROUP BY Clause Grouping by More Than One Column Using the GROUP BY Clause on Multiple Columns Illegal Queries Using Group Functions Illegal QueriesUsing Group Functions Excluding Group Results Excluding Group Results: HAVING Clause Using the HAVING Clause Using the HAVING Clause Nesting Group Functions Summary Practice Overview Showing different queries that use group functions Grouping by rows to achieve more than one result Excluding groups by using the HAVING clause Group Functions (continued) You can use MAX and MIN functions for any datatype. The slide example displays the most junior and the most senior employee. The following example displays the employee name that is first and the employee name that is last in an alphabetized list of all employees. SQL SELECT MIN(ename), MAX(ename) 2 FROM emp
您可能关注的文档
最近下载
- 头皮知识课件.pptx VIP
- 2025年安徽省普通高中学业水平合格性考试信息技术和通用技术上机真题卷3.docx VIP
- 第五章第二节创新实验:铜与硝酸 说课稿 2023-2024学年高一下学期化学人教版(2019)必修第二册.docx VIP
- 2025第九届“学宪法、讲宪法”知识竞赛题库(+答案解析)(中小学组).docx VIP
- 数据挖掘与机器学习全套教学课件.pptx
- 哈希cod_max_培训教材.ppt VIP
- 第五章第二节创新实验:铜与硝酸 教学设计 2023-2024学年高一下学期化学人教版(2019)必修第二册.docx VIP
- 建筑项目设计与施工配合措施.docx VIP
- 2025年辅警考试题库公安辅警.doc VIP
- 中国银行存款证明 正面资料.doc VIP
文档评论(0)