Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Joe Celko's SQL Programming Style and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
34 used & new from $20.00

Have one to sell? Sell yours here
 
   
Joe Celko's SQL Programming Style (The Morgan Kaufmann Series in Data Management Systems)
 
 
Start reading Joe Celko's SQL Programming Style on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Joe Celko's SQL Programming Style (The Morgan Kaufmann Series in Data Management Systems) (Paperback)

by Joe Celko (Author) "YOUR DATA WILL not come when it is called either if you do not give it a name that is always distinct and recognizable..." (more)
Key Phrases: week nbr, store nbr, from foobar where, United States, Dewey Decimal, Craig Mullins (more...)
3.9 out of 5 stars See all reviews (8 customer reviews)

List Price: $37.95
Price: $28.04 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.91 (26%)
Upgrade this book for $6.79 more, and you can read, search, and annotate every page online. See details
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 5 left in stock--order soon (more on the way).

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
26 new from $21.59 8 used from $20.00
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $17.57

Frequently Bought Together

Joe Celko's SQL Programming Style (The Morgan Kaufmann Series in Data Management Systems) + Joe Celko's SQL for Smarties: Advanced SQL Programming Third Edition (The Morgan Kaufmann Series in Data Management Systems) + Joe Celko's Thinking in Sets:  Auxiliary, Temporal, and Virtual Tables in SQL (The Morgan Kaufmann Series in Data Management Systems)
Price For All Three: $89.80

Show availability and shipping details


Customers Who Bought This Item Also Bought

Joe Celko's Thinking in Sets:  Auxiliary, Temporal, and Virtual Tables in SQL (The Morgan Kaufmann Series in Data Management Systems)

Joe Celko's Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL (The Morgan Kaufmann Series in Data Management Systems)

by Joe Celko
2.7 out of 5 stars (7)  $23.36
Joe Celko's Trees and Hierarchies in SQL for Smarties, (The Morgan Kaufmann Series in Data Management Systems)

Joe Celko's Trees and Hierarchies in SQL for Smarties, (The Morgan Kaufmann Series in Data Management Systems)

by Joe Celko
3.5 out of 5 stars (6)  $31.68
Joe Celko's SQL Puzzles and Answers (The Morgan Kaufmann Series in Data Management Systems)

Joe Celko's SQL Puzzles and Answers (The Morgan Kaufmann Series in Data Management Systems)

by Joe Celko
3.6 out of 5 stars (13)  $39.55
Joe Celko's Analytics and OLAP in SQL (The Morgan Kaufmann Series in Data Management Systems)

Joe Celko's Analytics and OLAP in SQL (The Morgan Kaufmann Series in Data Management Systems)

by Joe Celko
4.0 out of 5 stars (3)  $30.99
Joe Celko's Data and Databases: Concepts in Practice (The Morgan Kaufmann Series in Data Management Systems)

Joe Celko's Data and Databases: Concepts in Practice (The Morgan Kaufmann Series in Data Management Systems)

by Joe Celko
3.6 out of 5 stars (9)  $49.45
Explore similar items

Editorial Reviews

Review
"Joe Celko, maybe one of the most prominent representatives of the database community these days, has written some of the best books about SQL programming in general. This book, however, is different. "SQL Programming Style" doesn't teach you how to become a better SQL developer with SQL puzzles and brainteasers. Rather, it shows you "how to work in logical and declarative terms"."
- SQL-Server-Performance.com, August 17, 2006

Book Description
A collection of heuristics and rules for formatting and writing portable, readable, maintainable SQL code.

See all Editorial Reviews

Product Details

  • Paperback: 272 pages
  • Publisher: Morgan Kaufmann (April 11, 2005)
  • Language: English
  • ISBN-10: 0120887975
  • ISBN-13: 978-0120887972
  • Product Dimensions: 9.1 x 7.4 x 0.7 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars See all reviews (8 customer reviews)
  • Amazon.com Sales Rank: #206,329 in Books (See Bestsellers in Books)

Inside This Book (learn more)



Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

8 Reviews
5 star:
 (3)
4 star:
 (3)
3 star:
 (1)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (8 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
30 of 30 people found the following review helpful:
5.0 out of 5 stars Substantially more than a style guide., May 15, 2005
Style guides tend to be heuristics of understanding a hard-to-define -- consequently hard to defend -- criteria that will make your design effective. Strunk's "Elements of Style" would be an exemplary definition of a style guide. With all style guides, however, you can follow them religiously and still end up with an execrable book or living room.

Mr. Celko spends remarkably little time with style formatting, although he does delineate what constitutes readable and maintainable SQL code. Where the book finds its utmost utility is in the consistent and increasing reinforcement of thinking in sets. SQL is not about transforming data (although you can); SQL is about properly storing data, and then being able to find it again. Simple enough, but all-too-easy to get wrong.

The first two chapters talk about naming and actual SQL style. This is primarily what I'd expected, but Mr. Celko isn't about to let me off that easily. In discussing naming, he brings international standards into the mix. Right away, the standard of my existing SQL code falls away under this level of scrutiny. Throughout the book, Mr. Celko is bringing up a data discipine I have long-suspected existed but honestly never sought to embrace. Why should I develop a data model that adheres to standards, if mine will be the only model in the company even attempting it?

Therein lays the problem with this book: it can make a reader uncomfortable. Mr. Celko is writing about SQL and, more importantly, the data it will describe and manipulate, in far more depth and with far more rigor than I've seen elsewhere. He has an entire chapter on encoding data, another on scales used to measure data. Nowhere else will such treatment be gathered in one place, in the context of using SQL. Moreover, his conclusions are backed by years of experience *and* impressive references to back him. The bibliography will surely cause me to invest in yet more books.

Of course, the book can be dry in spots. Encoding data properly is important, but it's not as entertaining as seeing his effective SQL examples put to work. I think the balance between showing data as it is displayed and explaining the theory of the encoding (or modeling, or selection) is tricky to achieve, but I don't believe it ever broke down. The *density* of the book is striking; going into a 195-page book, you don't readily expect to re-read the same page three times to grasp something, but you must. At some point in the book, you will encounter an aspect of SQL development you've never come close to mastering, and it will give you pause. Take notes, work it out, and dig deeper. It'll be worth it.

Could I recommend this to newcomers to SQL programming? Qualified yes; you need to discipline yourself to work through much of it if you lack the experience in what's being presented. The book would make an excellent two-semester course in database development, one I suspect many would enjoy more than the typical relational database classes taught today.

Mr. Celko has again delivered an essential text on SQL, and it would serve as a springboard for a thorough introduction to all things data.

Fred
Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
18 of 19 people found the following review helpful:
4.0 out of 5 stars A very valuable SQL-style guide, August 30, 2005
This is not the first book I have read from Joe Celko. I appreciate very much his clear and concise style and the examples he provides, always meaningful and to the point. This book is not the exception and it completely fulfilled my expectations. In a very scholarly way (rule / rationale / examples / exceptions) Mr. Celko covers all the aspects that I could expect from a "programming style" book: layout, naming, SQL do's and don'ts, guidelines about views, triggers, stored-procedures, checks on columns, etc. He also provides a list of resources regarding standards (Military, ANSI, ISO, Industry) that I found very useful. I can highly recommend this book to any experienced or inexperienced person that deals with SQL (developer, DBA or even a data modeler)

My only criticism would be regarding a few unkind remarks he wrote about "newbies". I do not deny the value of showing examples of bad SQL coding followed by a better way of doing it, but there are ways to present them. I wouldn't be happy to see my name in a sentence like "As an example of a horrible misuse of SQL, [name of the guilty] posted a procedure ...".
It was also not very nice the way in which Mr. Celko introduced the Basic Software Engineering section: "With some embarrassment, I will now give what should have been covered in a freshman course". If a "newbie" is reading this book to gain some knowledge, he or she doesn't deserve the criticism. They know they are inexperienced and they are trying to improve. And the sloppy programmers, who may deserve such a criticism, they are not going to read a book like this anyway. Don't you think?
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Excellent book in excellent style, April 15, 2006
By dalepres "dalepres" (Park Hill, OK United States) - See all my reviews
Too many database books are written by developers whose expertise is OOP and not SQL. While I don't agree with Mr. Celko on every point, keep in mind that he was on the SQL Standards Committee for 10 years. Even if you don't agree with him on every point, his level of expertise is undeniable - unless, perhaps, the questioner can provide evidence of greater knowledge and expertise.

This book is to SQL grammar and style as "The Elements of Style" by Strunk and White are to English grammar and style. Mr. Celko explains, in terms that should be easily understood, why SQL should be written in standard SQL while still allowing that there can be exceptions just as verbal communications, in any language, should follow the standard grammar of the language unless there is good reason to slip into a localized dialect.

Where one reviewer rated the book with 1 star because that reviewer disagrees with Mr. Celko on a single point of database design, his antagonistic remarks have nothing to do with the point or the value of this book.

As the editorial review states, this book is not for beginners. If you have been programming SQL for a year or more and you want to fine tune the quality of your work, this work is something you should surely read.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars 3.5 stars: Has good stuff but very undercooked
I'll expand on that when I have time; but for now, real quick:
PROs:

- As usual for Celko's books, you get this feeling of conversing with a knowledgeable and... Read more
Published on March 26, 2007 by J Jacob Jingleheimer Schmidt

4.0 out of 5 stars This is the nth try to post this review
If this review finally goes in, I shall be pleased but surprised, There is something wrong with Amazon's linking. Read more
Published on November 24, 2006 by John Bonavia

5.0 out of 5 stars Great SQL Style Reference
This is a great reference for how to write clear, concise, and efficient SQL. If you are looking for good ideas for SQL coding standards, you will find them here. Read more
Published on August 31, 2006 by Glenn Berry

4.0 out of 5 stars I really enjoyed this book
Wading through badly written SQL is a nightmare on the best of days. Proper--and consistent--attention to capitalization, indentation, and other formatting standards makes SQL... Read more
Published on August 16, 2006 by Adam Machanic

1.0 out of 5 stars DO NOT BUY THIS BOOK!
Another condescending book by someone who has never dealt with the real world. SAVE YOUR MONEY! The few tidbits of useful information are not worth the unrealistic and contrived... Read more
Published on April 7, 2006 by Real World Developer

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Summer Sales

Omaha Steaks Hamburgers
Shop the summer food sale and save up to 50% on salsas and spreads, steaks and burgers, seafood, oils and vinegars, and desserts, only at Amazon Gourmet.

See all sale items

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Build Your Workshop with Combo Packs

Shop for combo packs
Tool combo packs offer you a great, cost-effective way to build your workshop.

Shop for combo packs now

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
$0.00
My Soul to Lose
My Soul to Lose by Rachel Vincent
Finger Lickin' Fifteen
Finger Lickin' Fifteen by Janet Evanovich
$9.99
Glenn Beck's Common Sense
Glenn Beck's Common Sense by Glenn Beck
$6.59

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates