Book review: SQL for MySQL Developers: A Comprehensive Tutorial and Reference by <i>Rick F. van der Lans</i>

Book review: SQL for MySQL Developers: A Comprehensive Tutorial and Reference by Rick F. van der Lans


MySQL is one of the dominant players in the database market—a solid pillar in the Linux, Apache, MySQL and PHP or LAMP stack. SQL for MySQL Developers, written by Rick F. van der Lans and published by Addison Wesley covers all significant topics of SQL with specific references to the MySQL dialect.

The book’s cover The book’s cover

My first impression of the book was that it was truly comprehensive and highly readable. With 1,032 pages flowing accurately through a wide range of topics and with questions at the end of each chapter, the book for its size was a surprisingly easy read. The contained information is a good starting point for relative beginners and later a useful reference in times of need.

The book for its size was a surprisingly easy read

The contents

Containing a massive 1,032 pages, 37 chapters and four appendices, if you wish to embalm yourself with the subtle details of MySQL SQL, this is definitely the book for you. The tutorial tone is straightforward and to the point and the flow leads you through the book chapter by chapter to a well rounded fundamental understanding of the subject area.

Not only is the book a tutorial with reinforcing questions at the end of each chapter, but is also a book ready to be placed on your bookshelf potentially acting as a life saving reference for those nasty rushed last minute debugging jobs... and yes I deny ever having one of those moments. :)

Van der Lans has split the content into five related topic areas: 1) a not so basic introduction, more what is SQL in a nutshell; 2) querying and updating information, including my favorite subject subquerying; 3) creating database objects, the topic details advanced concepts such as specifying integrity constraints and the ENUM and SET types; 4) details the server side question of procedural database objects, the book explains the innards of stored procedures, functions, triggers and events; and finally; and 5) programming with SQL which is a rather too fast look at MySQL and its relationship to PHP.

I enjoyed reading the book and found that forcing myself to answer the questions at the end of each chapter helped me retain the knowledge that flowed, at times quickly, past my eyes.

I particularly enjoyed reading the whole of topic four, procedural database objects. I am not sure if triggers increase the cost of maintaining programs, but example 33.11 (page 763) which involves a roll back of a transaction (if a constraint fails) clearly describes in less than 9 lines of code the potential of such a methodology.

Who’s this book for?

This book is for developers who wish to understand the full range of SQL related features in MYSQL 5. The book is so comprehensive that the contents will probably save you buying a second or third book

The book is so comprehensive that the contents will probably save you buying a second or third book

Relevance to free software

MySQL is an icon of the rise of successful commercial exploitation of free software.

Comprehensive tutorials, such as Rick F. van der Lans’s SQL for MySQL Developers, can only help to lower the barrier to full understanding of the product and thus motivate more developers to involve themselves.

Pros

This precise tome has all the content that you will need to use MySQL 5 to its full glory, including stored procedures, events and views. SQL for MySQL Developers is truly a comprehensive tutorial and reference and will sit well in any developers bookshelf waiting quietly for the time that specific optimizations or SQL debugging questions arise.

_SQL for MySQL Developers_ will sit well in any developers bookshelf waiting quietly for the time that specific optimizations or SQL debugging questions arise

Cons

If you are a developer that is looking to learn how best to optimize PHP or other languages with reference to MySQL then you will find this book short by at least one or two language specific chapters.

Title SQL for MySQL Developers: A Comprehensive Tutorial and Reference
Author Rick F. van der Lans
Publisher Addison Wesley Professional
ISBN 0131497359
Year 2007
Pages 1032
CD included No
FS Oriented 10
Over all score 9

In short

Category: 
License: 

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!