Joe Celko's SQL for Smarties: Advanced SQL Programming
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 updates 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.
What people are saying - Write a review
We haven't found any reviews in the usual places.
20 Grouping Operations
21 Aggregate Functions
22 Auxiliary Tables
23 Statistics in SQL
24 Regions Runs Gaps Sequences and Series
25 Arrays in SQL
26 Set Operations
9 Comparison or Theta Operators
10 Valued Predicates
11 CASE Expressions
12 LIKE Predicate
13 BETWEEN and OVERLAPS Predicates
14 The NOT IN Predicate
15 EXISTS Predicate
16 Quantified Subquery Predicates
17 The SELECT Statement
18 VIEWs Derived Tables Materialized Tables and Temporary Tables
19 Partitioning Data in Queries
Other editions - View all
aggregate allow answer application assume called character CHECK clause column common condition Consider constraint COUNT CREATE TABLE cursor data type database DEFAULT defined definition DELETE depends DISTINCT drop duplicates employee empty equal example execution EXISTS expression FALSE flight function give given GROUP handle hour implementations INSERT INTEGER NOT NULL interval language look match means missing month node NULL PRIMARY KEY operators option original OUTER JOIN pairs particular path period Personnel physical position possible predicate problem procedural query record REFERENCES relational remove result rule schema SELECT sequence simple single solution sort Standard SQL statement string subquery syntax things transaction TRUE UNION unique UPDATE usually VIEW write zero
Page ii - Relational Databases: From Conceptual Analysis to Logical Design Terry Halpin Component Database Systems Edited by Klaus R. Dittrich and Andreas Geppert Managing Reference Data in Enterprise Databases: Binding Corporate Data to the Wider World Malcolm Chisholm Data Mining: Concepts and Techniques Jiawei Han and Micheline Kamber Understanding SQL and Java Together: A Guide to SQL], JDBC, and Related Technologies Jim Melton and Andrew Eisenberg Database: Principles, Programming, and Performance, Second...
Page iii - Edited by Francois Bancilhon, Claude Delobel, and Paris Kanellakis Database Transaction Models for Advanced Applications • Edited by Ahmed K. Elmagarmid A Guide to Developing Client/Server SQL Applications • Setrag Khoshafian, Arvola Chan, Anna Wong, and Harry KT Wong The Benchmark Handbook for Database and Transaction Processing Systems, Second Edition • Edited by Jim Gray Camelot and Avalon: A Distributed Transaction Facility • Edited by Jeffrey L. Eppinger, Lily B. Mummert, and Alfred...
Page iii - Technology Cynthia Maro Saracco Readings in Database Systems, Third Edition Edited by Michael Stonebraker and Joseph M. Hellerstein Understanding SQL's Stored Procedures: A Complete Guide to SQL/PSM Jim Melton Principles of Multimedia Database Systems VS Subrahmanian Principles of Database Query Processing for Advanced Applications Clement T. Yu and Weiyi Meng Advanced Database Systems Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, VS Subrahmanian, and Roberto Zicari Principles...
Page iii - Management of Heterogeneous and Autonomous Database Systems, Edited by Ahmed Elmagarmid, Marek Rusinkiewicz, and Amit Sheth Object-Relational DBMSs: Tracking the Next Great Wave, Second Edition, Michael Stonebraker and Paul Brown, with Dorothy Moore A Complete Guide to DB2 Universal Database, Don Chamberlin Universal Database Management: A Guide to Object/Relational Technology, Cynthia Maro Saracco Readings in Database Systems, Third Edition, Edited by Michael Stonebraker and Joseph M.
Page ii - Philippe Rigaux, Michel Scholl, and Agnes Voisard Information Modeling and Relational Databases: From Conceptual Analysis to Logical Design Terry Halpin Component Database Systems Edited by Klaus R. Dittrich and Andreas Geppert Managing Reference Data in Enterprise Databases: Binding Corporate...
Page i - The Morgan Kaufmann Series in Data Management Systems Series Editor: Jim Gray, Microsoft Research...
Page 63 - Language). 6. The view updating rule: All views that are theoretically updatable must be updatable by the system.