No Words Wasted Sale

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to
for a chance to win.
Privacy Policy

Visit our stores

    Recently Viewed clear list

    Original Essays | January 14, 2015

    Marie Mutsuki Mockett: IMG On Trimming Roses

    Gardens do not wait. Weeds grow and flowers wilt. In the days and weeks following my father's death, my parents' garden continued to flourish and... Continue »
    1. $18.87 Sale Hardcover add to wish list


On Order

New Trade Paper
Currently out of stock.
Add to Wishlist
Qty Store Section
- Local Warehouse Computer Languages- SQL

Practical SQL Handbook 4TH Edition Using SQL Variati


Practical SQL Handbook 4TH Edition Using SQL Variati Cover




Why New Editions?

Many things have changed since this book was first published in 1989, and SQL is no exception. The SQL language has expanded tremendously, both in numbers of users and in numbers of commands. Sales of relational databases continue to rise at a strong and steady rate.

      When we wrote the first edition of The Practical SQL Handbook, the American National Standards Institute (ANSI) had already approved the 1986 SQL standard. The International Standards Organization (ISO) adopted it in 1987. Both ANSI and ISO helped create the 1989 version. The 1986 standards were skimpy, lacking features that most commercial vendors offered. The 1989 standards were more complete but still left many important elements undefined.

      For the first edition, we felt we should focus on industry practice: As always, each vendor was keeping a wary eye on what the others were doing and making core offerings similar enough to attract both customers migrating from competitors, as well as new users looking for database systems they could build on. Because of this, we left both the not-quite-jelled ANSI standards and particular vendor implementations to the experts in those fields and concentrated on the common ground: generic or "industry-practice" SQL. Our goal was to offer the intelligent amateur practical information on how to use the actually available SQL of that time.

      The 1992 ANSI standard (often called SQL-2 or SQL-92) represented a new stage in SQL development. This standard was more comprehensive than the 1989 standard: In written form it contained more than four times as many pages as the earlier version. Database vendors have adopted large parts of the 1992 standard. With the widespread adoption of the SQL-92 standard, the industry practice and the ANSI/ISO standards began to converge.

      Despite vendor-specific differences, there is a general, industrywide core of SQL commands that all users need to understand. Adopting standards doesn’t happen overnight; it is a long process. At any point, vendors will have varying levels of conformance and will continue to produce vendor-specific variations. This book aims to give SQL users a mastery of the fundamentals of the language, with a side glance at the specifics of particular implementations.

Changes for Recent Editions

The changes for recent editions have been threefold:
  • To include more real-world examples
  • To emphasize the SQL-92 features that most vendors have imple-mented
  • To provide software for hands-on practice
  • Include More Real-World Examples

    In talking to new and developing SQL users, we heard over and over of their need for more examples to follow, change, narrow, and broaden. Accordingly, the bulk of the added material in the second edition consisted of code "recipes." Chapter 11, Solving Business Problems, is a selection of code samples based on questions and answers that came over computer newsgroups. We reproduce interesting problems and solutions in terms of the sample bookbiz database used throughout the book. The chapter includes examples of using the CASE function for conditional logic, formatting results, and finding date data. A few samples fall into a different category. They aren’t so much solutions to problems as indications of common errors. They include issues with DISTINCT and misunderstandings of what SQL can do.

    Emphasize SQL-92

    With the third edition, we revised the book to incorporate the SQL-92 features that most vendors had adopted. These include new datatypes, additions to the CREATE TABLE statement that allow built-in integrity constraints, modifications to the ORDER BY and GROUP BY clauses, the new escape character for the LIKE keyword, and changes to GRANT and REVOKE, among others.

    Provide Software for Hands-On Practice

    With the fully usable trial version of Sybase’s Adaptive Server Anywhere (ASA) on the CD that accompanies this book, you can run the examples (and your variants) on a PC. We’ve always felt that the secret to learning SQL is practice. Now you can experiment to your heart’s content, trying out code samples with data you know and checking the results to see if they are what you expect. When you’re stumped by complicated code, break it into small, meaningful pieces and run the pieces separately to make sure you understand what each segment does. Then put them together in increasingly complex combinations–and have fun!

          The Sybase Adaptive Server Anywhere software on the CD is a 60-day full-feature version that allows you to create objects as well as to query existing objects. ASA is built with an updated version of the bookbiz database: For the fourth edition, we increased book prices and made dates more recent. Also included on the CD are scripts to create the database on ASA (in case you damage the original) and on the other systems discussed in the book.

    The Fourth Edition

    The Practical SQL Handbook, Fourth Edition, continues to focus on industry-practice SQL, but the information included is at once more general and more specific than earlier editions. For the fourth edition, we had two objectives:
  • To expand our test base, running the examples on five different database systems
  • To show vendor-specific differences among systems
  • Test on More Systems

    For the fourth edition, all examples were run on five systems (Sybase Adaptive Server Anywhere, Adaptive Server Enterprise, Microsoft SQL Server, Oracle, Informix), rather than on Sybase systems only, as in the third edition. This expanded test base makes the information more universal. We are no longer limited to what we can explore or verify on a particular system. If an important feature doesn’t exist on Adaptive Server Anywhere (ASA, the RDBMS included on the CD), we can show code and results from Oracle or SQL Server.

    Show Examples of Vendor-Specific Differences

    On the other hand, this edition is more specific. It includes information on specific idiosyncrasies of the five SQL dialects, warning readers where to look for differences. In this, it reflects the real world–lots of database users are working with multiple systems, either sequentially or simultaneously. Interesting SQL differences are flagged as SQL Variants, in-text sections that show details of differences in SQL use by different vendors. For example, how single and double quotes are used, or database users added, or outer joins specified. You won’t see code for every one of the five systems every time, but you’ll get an introduction to the kind of differences that are likely in a particular area.


    We would like to thank the following people for their contributions to this book: Donna Jeker and Stu Schuster for supplying timely support and encouragement; Jeff Lichtman and Howard Torf for offering advice, examples, anecdotes, and reality checks; Tom Bondur, Susie Bowman, John Cooper, and Wayne Duquesne for providing resource materials and other information; Paul Winsberg for reviewing the database design chapter in the first edition; Robert Garvey for technical review of the second edition; Karen Ali for facilitating the third edition’s SQL Anywhere CD; and Theo Posselt for technical review of the third edition.

          For the fourth edition, we would like to acknowledge Mike Radencich of iAnywhere Solutions (a Sybase Company), for providing the software and permissions for the Adaptive Server Anywhere CD; Lance Batten of Tilden Park Software and Sanford Jacobs of Paragon Software for comments and corrections; our reviewers, on whom we rely for timely and detailed feedback: Vijayanandan Venkatachalam, curriculum director of Oracle Corporation; David McGoveran of Alternative Technologies; Roger Snowden; Amy Sticksel of Sticksel Data Systems; Paul Irvine of Emerald Solutions; and Karl Batten-Bowman.


    Product Details

    Bowman, Judith S.
    Emerson, Sandra L.
    Bowman, Judith S.
    Darnovsky, Marcy
    Addison-Wesley Professional
    Boston, MA
    Programming Languages - SQL
    Database Management - General
    Relational databases
    Sql (computer program language)
    Computer Languages-SQL
    Edition Number:
    Edition Description:
    Trade paper
    Series Volume:
    Publication Date:
    June 2001
    Grade Level:
    Professional and scholarly
    9.1 x 7.4 x 1.2 in 894 gr

    Other books you might like

    1. Application Development Using C# and... New Trade Paper $44.95
    2. Programming C# Used Trade Paper $2.25
    3. Delphi for .Net Developer's Guide Used Trade Paper $6.95
    4. Microsoft Visual Basic 2005 Step by... Used Trade Paper $5.95
    5. Microsoft Word Version 2002 Inside... Used Trade Paper $9.50
    6. Database Management Systems Used Hardcover $162.00

    Related Subjects

    Computers and Internet » Computer Languages » SQL
    Computers and Internet » Database » Design
    Computers and Internet » Database » SQL
    Computers and Internet » Software Engineering » Software Management

    Practical SQL Handbook 4TH Edition Using SQL Variati New Trade Paper
    0 stars - 0 reviews
    $69.99 Backorder
    Product details 512 pages Addison-Wesley Professional - English 9780201703092 Reviews:
    "Synopsis" by , This edition has added coverage of Microsoft SQL Server, Oracle, and Informix. The CD-ROM contains a 60-day full feature version of the Sybase Adaptive Server Anywhere, plus sample database and scripts discussed in the book.
    • back to top


    Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at