Joe Celko's SQL for Smarties: Advanced SQL Programming, 3/e

Joe Celko

  • 出版商: Morgan Kaufmann
  • 出版日期: 2005-08-12
  • 售價: $2,120
  • 貴賓價: 9.5$2,014
  • 語言: 英文
  • 頁數: 840
  • 裝訂: Paperback
  • ISBN: 0123693799
  • ISBN-13: 9780123693792
  • 相關分類: SQL
  • 已過版





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, 10 years later and in the third edition, this classic still reigns supreme as the book written by an SQL master that teaches future SQL masters. These are not just tips and techniques; Joe also offers the best solutions to old and new challenges and conveys the way you need to think in order to get the most out of SQL programming efforts for both correctness and performance.

In the third edition, Joe features new examples and update to SQL-99, expanded sections of Query techniques, and a new section on schema design, with the same war-story teaching style that made the first and second editions of this book classics.


Table of Contents:

Part I: Data Relational Model Basics Keys and uniqueness; Normalization Practical Hints for Normalization; Practical Hints for Denormalization; Encoding and scales Implementations;Generator functions Part II: DDL (Data Declaration Language)Part III: DML (Data Manipulation Language) 1. Numeric Data in SQL 2. Temporal Datatypes in SQL 3. Character Datatypes in SQL 4. Other Expressions 5. Table Operations 6. INSERT INTO Statement 7. The UPDATE Statement 8. Comparison or Theta Operators 9. Valued Predicates 10. LIKE and SIMILAR TO Predicates 11. BETWEEN and OVERLAPS Predicates 12. The [NOT] IN Predicate 13. [NOT] EXISTS() Predicate 14. Quantified Subquery Predicate 15. The Simple SELECT Statement 16. OUTER JOINs 17. Old versus New JOIN syntax 18. Bin Packing 19. VIEWs 20. TEMPORARY TABLEs 21. Partitioning Data 22. Grouping Operations 23. Aggregate Functions 24. Other Aggregate Functions 25. Auxiliary Tables 26. Statistics in SQL 27. Regions, Runs, Gaps, Sequences and Series 28. Array Structures in SQL 29. Set Operations 30. Subsets 31. Trees in SQL 32. Graphs in SQL 33. Optimizing Code