Beginning SQL (Programmer to Programmer)

Beginning SQL (Programmer to Programmer)
Authors
Paul Wilton, John Colby
ISBN
0764577328
Published
04 Mar 2005
Purchase online
amazon.com

*Taking readers through the basics of the language, right up to some more advanced topics, this book is a practical, hands-on resource and aims to keep the reader involved at all times *Focuses on the SQL standard and is loaded with detailed examples and code; each chapter includes practice exercises that readers can challenge themselves with before looking at the sample solutions in the appendix

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

Richard R. Webster said
I really like this book.

It is broken into two sections. Chapter 1-3 is a once-over-lightly overview of all the key concepts involved in SQL. The rest is a thorough and detailed guide to more advanced uses.

The SQL is generic, though the book has specific exceptions for MySQL, Access, SQL Server and Oracle. These are mostly unobtrusive and can be skimmed easily. It is moderately useful to see what exceptions exist and why, even if you have no intention of using those DBMS's. Unlike books like SQL in a Nutshell, these references don't create constant interruptions in the reading flow.

What I like most about this book is that each subject is given a complete discussion, with ERD, SQL commands, and example data. In most cases, there is more than one example of usage. Unlike the current book, the examples are uncomplicated and make sense out of context of previous chapters, for the most part. The database examples are more self-contained and real-world than the current book -- more like the classroom examples.

This book devotes from 3-10 pages to what most books only give 1/2 page. The text flows well and is light and friendly, but doesn't have distracting anecdotes. At first glance, it is a lot of text, a lot of pages, and the paper is newsprint which seems intimidating, but it is a quick read. The data examples are humorous, which makes it a bit less dull. Even though the Wrox tagline is "Programmer to Programmer" this book is more accessible than any other programming text I've read. It really is Beginning SQL.

My only complaint: no coverage of PostgreSQL.

Two thumbs up, 5 stars, etc... I really like this book!

Ujjwal Subedi said
Book provides good overview about SQL and intro to other major DBMS. Disappointed with the fact that book covers so little.
My suggestion is that if you planning to learn SQl just buy a SQL book for the DBMS you are planning to learn.

Graeme Harker said
This is Wrox's book for those keen to learn SQL who have no experience of database programming at all. The good news is that it's not bad. Unfortunately it is two books rather crudely glued together.

The first book by Paul Wilton is what you would expect from a book with this title, a step-by-step introduction to SQL. It covers queries, functions, inner and outer joins, table and index creation, constraints and the fundamentals of relational database design. As the database-independent title of the book suggests it focuses on the standard features and functions of SQL that are common to all popular databases. In doing this the author makes the effort to point out where the popular databases vary from the standard. Understandably stored procedures are deemed to be beyond the scope of this book and are not mentioned. The databases covered by the first book are Oracle 10g, MySQL 4.1, SQL Server 2000, DB2 8.1 and Access XP. The book also includes a very handy appendix which explains how to obtain a free evaluation copy of each of these databases and how to install them on Windows.

The second book, by John Colby, covers the more advanced topics of transactions, security and database performance tuning. Unfortunately the second book is written unashamedly only for SQL Server and little or no attempt is made to explain how the same functionality is delivered by other databases. I can't understand this. Wrox has a perfect good book already for those keen to learn about SQL Server by Robert Vieira.

In my view for the next release of the book Wrox should drop the second section of this book altogether, as it doesn't belong in a beginners' guide to SQL and instead ask Paul to beef up the chapters on functions and data types, including an overview of the more often used datatypes in the five RDBMSs. In my experience beginners need to know how to use IDENTITY and SEQUENCE generators when they build their first database applications, not security and database performance tuning.

John Matlock said
This is a good general introduction to using SQL to build a database, put some data into it and then to get it back out when you need to use it for something. The author says that all of the SQL examples have been tested using MySQL, Microsoft SQL Server, IBM DB2, Microsoft Access, and Oracle 10g. That says that the SQL used in the examples has to be very general in nature and not take advantage of newer and more powerful commands that have come about since these programs were written (particularly Access which uses the Jet engine that's more or less compliant with SQL:89).

This is not a bad approach, because while you might miss out on some of the nifty commands, your code will be compatiable with virtually any database that you are using. You will find comments in the book like when discussing the substring function he says "MS Access doesn't utilize the SUBSTRING() function. Instead, it employs the MID() function...." I don't know how he could have done it any differently without writing five different books.

This is an excellent beginning book. Use it to get started and to understand the concepts behind the SQL language. Then you may want to get a higher level book on the particular database you are using.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” - Donald Knuth