官术网_书友最值得收藏!

Handling Advanced SQL

In Chapter 3,  Making Use of Indexes, you learned about indexing as well as about PostgreSQL's ability to run custom indexing code to speed up queries. In this chapter, you will learn about advanced SQL. Most readers of this book will have some experience of using SQL. However, experience has shown that the advanced features outlined in this book are not widely known and therefore it makes sense to cover them in this context to help people to achieve their goals faster and more efficiently. There has been a long discussion on whether the database is just a simple data store or whether business logic should be in the database or not. Maybe this chapter will shed some light and show how capable a modern relational database really is.

This chapter is about modern SQL and its features. A variety of different and sophisticated SQL features are included and presented in detail. The topics covered are:

  • Grouping sets
  • Ordered sets
  • Hypothetical aggregates
  • Windowing functions and analytics

At the end of the chapter, you will be able to understand and use advanced SQL.

主站蜘蛛池模板: 濮阳市| 灌阳县| 连江县| 密山市| 固始县| 吴江市| 祁连县| 伊宁市| 策勒县| 南投县| 托克逊县| 西盟| 高陵县| 锡林浩特市| 静乐县| 湖口县| 疏附县| 岳普湖县| 永年县| 枞阳县| 兰州市| 炎陵县| 迭部县| 关岭| 明水县| 临澧县| 麻江县| 锦屏县| 南漳县| 九龙坡区| 甘泉县| 寿光市| 娄底市| 格尔木市| 昌平区| 固始县| 体育| 玛纳斯县| 天等县| 上杭县| 庄河市|