Joe Celko's SQL for Smarties: Advanced SQL Programming, Fifth Edition
- 11h 41m
- Joe Celko
- Elsevier Science and Technology Books, Inc.
- 2015
SQL for Smarties was hailed as the first book devoted explicitly to the advanced techniques needed to transform an experienced SQL programmer into an expert. Now, 20 years later and in its fifth edition, this classic reference still reigns supreme as the only book written by a SQL master that teaches programmers and practitioners to become SQL masters themselves! These are not just tips and techniques; also offered are the best solutions to old and new challenges. Joe Celko conveys the way you need to think in order to get the most out of SQL programming efforts for both correctness and performance. New to the fifth edition, Joe features new examples to reflect the ANSI/ISO Standards so anyone can use it. He also updates data element names to meet new ISO-11179 rules with the same experience-based teaching style that made the previous editions the classics they are today. You will learn new ways to write common queries, such as finding coverings, partitions, runs in data, auctions and inventory, relational divisions and so forth. SQL for Smarties explains some of the principles of SQL programming as well as the code. A new chapter discusses design flaws in DDL, such as attribute splitting, non-normal forum redundancies and tibbling. There is a look at the traditional acid versus base transaction models, now popular in NoSQL products. You’ll learn about computed columns and the DEFERRABLE options in constraints. An overview of the bi-temporal model is new to this edition and there is a longer discussion about descriptive statistic aggregate functions. The book finishes with an overview of SQL/PSM that is applicable to proprietary 4GL vendor extensions.
New to the 5th Edition:
- Downloadable data sets, code samples, and vendor-specific implementations!
- Overview of the bitemporal model
- Extended coverage of descriptive statistic aggregate functions
- New chapter covers flaws in DDL
- Examination of traditional acid versus base transaction models
- Reorganized to help you navigate related topics with ease
- Expert advice from a noted SQL authority and award-winning columnist Joe Celko, who served on the ANSI SQL standards committee for over a decade
- Teaches scores of advanced techniques that can be used with any product, in any SQL environment, whether it is SQL 92 or SQL 2011
- Offers tips for working around deficiencies and gives insight into real-world challenges
About the Author
Joe Celko served 10 years on ANSI/ISO SQL Standards Committee and contributed to the SQL-89 and SQL-92 Standards.
Mr. Celko is author a series of books on SQL and RDBMS for Elsevier/MKP. He is an independent consultant based in Austin, Texas.
He has written over 1200 columns in the computer trade and academic press, mostly dealing with data and databases.
In this Book
-
Introduction to the Fifth Edition
-
Databases versus File Systems
-
Transactions and Concurrency Control
-
Tables
-
Keys, Locators, and Generated Values
-
Normalization
-
VIEWs, Derived, and other Virtual Tables
-
Auxiliary Tables
-
Other Schema Objects
-
DDL Flaws to Avoid
-
Numeric Data in SQL
-
Character Data Types in SQL
-
Temporal Data Types in SQL
-
Multiple Column Data Elements
-
NULLs—Missing Data in SQL
-
Table Operations
-
Set Operations
-
Comparison or Theta Operators
-
Subquery Predicates
-
BETWEEN and OVERLAPS Predicates
-
CASE Expression Family
-
LIKE and SIMILAR TO Predicates
-
Basic SELECT Statement
-
Basic Aggregate Functions
-
Advance Descriptive Statistics
-
OLAP Aggregation in SQL
-
Advanced SELECT Statements
-
Graphs in SQL
-
Trees and Hierarchies in SQL
-
Queues
-
Matrices in SQL
-
Partitioning and Aggregating Data in Queries
-
Sub-Sequences, Regions, Runs, Gaps, and Islands
-
Auctions
-
Relational Division
-
Temporal Queries
-
Procedural Semi-Procedural and Declarative Programming in SQL
-
Nesting Levels in SQL
-
Embedded SQL, CLI Dynamic SQL, and SQL/PSM