Practical Oracle SQL: Mastering the Full Power of Oracle Database (實用Oracle SQL:掌握Oracle資料庫的全部力量)

Berg Hansen, Kim

  • 出版商: Apress
  • 出版日期: 2020-02-20
  • 售價: $1,490
  • 貴賓價: 9.5$1,416
  • 語言: 英文
  • 頁數: 460
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484256166
  • ISBN-13: 9781484256169
  • 相關分類: OracleSQL資料庫
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Write powerful queries using as much of the feature-rich Oracle SQL language as possible, progressing beyond the simple queries of basic SQL as standardized in SQL-92.
Both standard SQL and Oracle's own extensions to the language have progressed far over the decades in terms of how much you can work with your data in a single, albeit sometimes complex, SQL statement. If you already know the basics of SQL, this book provides many examples of how to write even more advanced SQL to huge benefit in your applications, such as:

  • Pivoting rows to columns and columns to rows
  • Recursion in SQL with MODEL and WITH clauses
  • Answering Top-N questions
  • Forecasting with linear regressions
  • Row pattern matching to group or distribute rows
  • Using MATCH_RECOGNIZE as a row processing engine

The process of starting from simpler statements in SQL, and gradually working those statements stepwise into more complex statements that deliver powerful results, is covered in each example. By trying out the recipes and examples for yourself, you will put together the building blocks into powerful SQL statements that will make your application run circles around your competitors.

What You Will Learn

  • Take full advantage of advanced and modern features in Oracle SQL
  • Recognize when modern SQL constructs can help create better applications
  • Improve SQL query building skills through stepwise refinement
  • Apply set-based thinking to process more data in fewer queries
  • Make cross-row calculations with analytic functions
  • Search for patterns across multiple rows using row pattern matching
  • Break complex calculations into smaller steps with subquery factoring


Who This Book Is For
Oracle Database developers who already know some SQL, but rarely use features of the language beyond the SQL-92 standard. And it is for developers who would like to apply the more modern features of Oracle SQL, but don't know where to start. The book also is for those who want to write increasingly complex queries in a stepwise and understandable manner. Experienced developers will use the book to develop more efficient queries using the advanced features of the Oracle SQL language.

 

商品描述(中文翻譯)

使用尽可能多的功能丰富的Oracle SQL语言编写强大的查询,超越基本SQL中标准化的简单查询。标准SQL和Oracle自己对语言的扩展在几十年来已经取得了很大进展,您可以在单个SQL语句中处理大量数据,尽管有时候可能会很复杂。如果您已经了解SQL的基础知识,本书提供了许多示例,展示如何编写更高级的SQL以在应用程序中获得巨大的好处,例如:

- 将行转换为列和列转换为行
- 使用MODEL和WITH子句在SQL中进行递归
- 回答Top-N问题
- 使用线性回归进行预测
- 使用行模式匹配对行进行分组或分发
- 使用MATCH_RECOGNIZE作为行处理引擎

每个示例都涵盖了从简单的SQL语句开始,逐步将这些语句转化为更复杂的语句,以产生强大的结果的过程。通过自己尝试这些示例和案例,您将能够将这些构建块组合成强大的SQL语句,使您的应用程序在竞争对手中脱颖而出。

您将学到什么:

- 充分利用Oracle SQL中的高级和现代功能
- 辨别现代SQL结构何时能够帮助创建更好的应用程序
- 通过逐步细化改进SQL查询构建技巧
- 应用基于集合的思维,在较少的查询中处理更多的数据
- 使用分析函数进行跨行计算
- 使用行模式匹配在多行中搜索模式
- 使用子查询分解复杂计算步骤

本书适合对象:

- 已经了解一些SQL的Oracle数据库开发人员,但很少使用SQL-92标准以外的语言功能。本书也适用于希望应用Oracle SQL的更现代功能,但不知道从何处开始的开发人员。本书还适用于希望以逐步和可理解的方式编写越来越复杂查询的人。有经验的开发人员将使用本书来使用Oracle SQL语言的高级功能开发更高效的查询。

作者簡介

Kim Berg Hansen is a database developer from Middelfart in Denmark. As a youngster he originally wanted to work with electronics, and he tried computer programming and discovered that the programs he wrote worked well--unlike the electronics projects he soldered that often failed. This led to a VIC-20 with 5 kilobytes RAM and many hours programming in Commodore Basic.
Having discovered his talent, Kim financed computer science studies at Odense University with a summer job as sheriff of Legoredo, while learning methodology and programming in Modula-2 and C. From there he moved into consulting as a developer making customizations to ERP software. That gave him his first introduction to Oracle SQL and PL/SQL, with which he has worked extensively since the year 2000.

 

His professional passion is to work with data inside the database utilizing the SQL language to the fullest to achieve the best application experience for his application users. With a background fitting programs into 5 KB RAM, Kim hates to waste computing resources unnecessarily.

 

Kim shares his experience and knowledge by blogging at the kibeha.dk website, presenting at various Oracle User Group conferences, and being the SQL quizmaster at the Oracle Dev Gym. His motivation comes from peers who say "now I understand" after his explanations, and from end users who "can't live without" his application coding. He is a certified Oracle OCE in SQL, and an Oracle ACE Director.

Outside the coding world, Kim is married, loves to cook, and is a card-carrying member of the Danish Beer Enthusiasts Association.

 

作者簡介(中文翻譯)

Kim Berg Hansen是來自丹麥Middelfart的資料庫開發人員。年輕時,他原本想從事電子工程,後來嘗試了電腦編程,發現他寫的程式運行良好,而他焊接的電子項目經常失敗。這使他開始使用5千字節RAM的VIC-20並花了很多時間在Commodore Basic編程。

發現自己的才能後,Kim在奧登塞大學通過擔任Legoredo的警長暑期工資助了計算機科學學業,同時學習方法論和Modula-2和C編程。然後他轉入咨詢行業,作為開發人員為ERP軟件進行定制。這使他首次接觸到Oracle SQL和PL/SQL,從2000年以來他一直在這方面進行廣泛的工作。

他的專業熱情是在數據庫內部使用SQL語言充分利用數據,以實現最佳的應用體驗。由於背景是將程序放入5 KB RAM中,Kim討厭不必要地浪費計算資源。

Kim通過在kibeha.dk網站上撰寫博客、在各種Oracle用戶組會議上發表演講以及擔任Oracle Dev Gym的SQL問答大師來分享他的經驗和知識。他的動力來自同行在他的解釋後說“現在我明白了”,以及終端用戶在他的應用編程後說“無法沒有”。他是Oracle SQL的認證OCE,也是Oracle ACE Director。

在編程世界之外,Kim已婚,喜歡烹飪,並是丹麥啤酒愛好者協會的會員。