Joe Celko's SQL for Smarties

4th Edition

Advanced SQL Programming

Authors: Joe Celko Joe Celko
Paperback ISBN: 9780123820228
eBook ISBN: 9780123820235
Imprint: Morgan Kaufmann
Published Date: 18th October 2010
Page Count: 816
67.95 + applicable tax
41.99 + applicable tax
51.95 + applicable tax
Unavailable
Compatible Not compatible
VitalSource PC, Mac, iPhone & iPad Amazon Kindle eReader
ePub & PDF Apple & PC desktop. Mobile devices (Apple & Android) Amazon Kindle eReader
Mobi Amazon Kindle eReader Anything else

Institutional Access


Table of Contents

About the Author Introduction to the Fourth Edition Chapter 1 Databases versus File Systems     1.1 Tables as Entities     1.2 Tables as Relationships     1.3 Rows versus Records     1.4 Columns versus Fields     1.5 Schema Objects     1.6 CREATE SCHEMA Statement Chapter 2 Transactions and Concurrency Control     2.1 Sessions     2.2 Transactions and ACID     2.3 Concurrency Control     2.4 Pessimistic Concurrency Control     2.5 SNAPSHOT Isolation and Optimistic Concurrency     2.6 Logical Concurrency Control     2.7 Deadlock and Livelocks Chapter 3 Schema Level Objects     3.1 CREATE SCHEMA Statement     3.2 CREATE PROCEDURE, CREATE FUNCTION, and CREATE TRIGGER     3.3 CREATE DOMAIN Statement     3.4 CREATE SEQUENCE     3.5 CREATE ASSERTION     3.6 Character Set Related Constructs Chapter 4 Locating Data and Special Numbers     4.1 Exposed Physical Locators     4.2 Generated Identifiers     4.3 Sequence Generator Functions     4.4 Preallocated Values     4.5 Special Series Chapter 5 Base Tables and Related Elements     5.1 CREATE TABLE Statement     5.2 Nested UNIQUE Constraints     5.3 CREATE ASSERTION Constraints     5.4 TEMPORARY Tables     5.5 Manipulating Tables     5.6 Avoiding Attribute Splitting     5.7 Modeling Class Hierarchies in DDL     5.8 Exposed Physical Locators     5.9 Auto-Incrementing Columns     5.10 Generated Identifiers     5.11 A Remark on Duplicate Rows     5.12 Other Schema Objects     5.13 Temporary Tables     5.14 CREATE DOMAIN Statement     5.15 CREATE TRIGGER Statement     5.16 CREATE PROCEDURE Statement     5.17 DECLARE CURSOR Statement Chapter 6 Procedural, Semiprocedural, and Declarative Programming     6.1 Basics of Software Engineering     6.2 Cohesion     6.3 Coupling     6.4 The Big Leap     6.5 Rewriting Tricks     6.6 Functions for Predicates     6.7 Procedural versus Logical Decomposition Chapter 7 Procedural Constructs     7.1 CREATE PROCEDURE     7.2 CREATE TRIGGER

Description

Joe Celkos SQL for Smarties: Advanced SQL Programming offers tips and techniques in advanced programming. This book is the fourth edition and it consists of 39 chapters, starting with a comparison between databases and file systems. It covers transactions and currency control, schema level objects, locating data and schema numbers, base tables, and auxiliary tables. Furthermore, procedural, semi-procedural, and declarative programming are explored in this book. The book also presents the different normal forms in database normalization, including the first, second, third, fourth, fifth, elementary key, domain-key, and Boyce-Codd normal forms. It also offers practical hints for normalization and denormalization. The book discusses different data types, such as the numeric, temporal and character data types; the different predicates; and the simple and advanced SELECT statements. In addition, the book presents virtual tables, and it discusses data partitions in queries; grouping operations; simple aggregate functions; and descriptive statistics, matrices and graphs in SQL. The book concludes with a discussion about optimizing SQL. It will be of great value to SQL programmers.

Key Features

KEY FEATURES

  • Expert advice from a noted SQL authority and award-winning columnist who has given ten years service to the ANSI SQL standards committee
  • Teaches scores of advanced techniques that can be used with any product, in any SQL environment, whether it is an SQL 92 or SQL 2008 environment
  • Offers tips for working around deficiencies and gives insight into real-world challenges

Readership

This book is intended for working SQL programmers, database administrators, database designers, database analysts, and application system developers as well as those who are developing new features for database management systems who want to know about user needs. This would include anyone working with electronic content in the relational database context but also XML. Web services, etc.


Details

No. of pages:
816
Language:
English
Copyright:
© Morgan Kaufmann 2011
Published:
Imprint:
Morgan Kaufmann
eBook ISBN:
9780123820235
Paperback ISBN:
9780123820228

Reviews

"If you work with SQL in any way, shape, or form, the most recent edition of Joe Celko’s SQL for Smarties needs to be on your bookshelf!"--Data Technology Today Blog


About the Authors

Joe Celko 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.

Affiliations and Expertise

Independent Consultant, Austin, Texas

Joe Celko 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.

Affiliations and Expertise

Independent Consultant, Austin, Texas