Teach yourself SQL in 24 Hours

Author: Ryan Stephens, Ron Plew & Arie D. Jones
Publisher: Sams
Pages: 460
ISBN: 978-0672335419
Aimed at: Novices in SQL
Rating: 4
Pros:Good coverage of the ANSI standard with examples in real world SQL dialects
Cons: You might prefer a book aimed at the particular dialect you’ll be working with
Reviewed by: Kay Ewbank

A vendor-neutral approach to SQL. Does it work in practice?

 

Teach Yourself SQL in 24 hours follows the familiar pattern of 24 one hour long lessons, in this case to cover the whole of SQL. It’s worth pointing out that the book covers ANSI SQL with nods towards Oracle, Microsoft SQL Server and MySQL, so you’re going to learn the core of the language rather than the particular dialect of whatever database you’re working with. The writers get around this limitation by including short discussions on how the different implementations deal with particular problems. For example, when discussing auto-incrementing columns, you’re shown how MySQL deals with it, then how SQL Server does it, then how Oracle doesn’t let you do it directly. This vendor neutrality can actually be quite helpful, especially if you have to take code written for one dialect and work out how to do it in another.


Banner

 

The initial couple of chapters covering the generalities seemed to me to be the weakest in the book, and I wouldn’t want to try to understand data structures and database objects just from what’s covered here. If you don’t understand what a database is, this isn’t the book to use to learn. Instead, get the general concepts into place and skim read the opening chapters.

Once into the nitty gritty of SQL, the chapters are much stronger and generally clear and understandable. All the chapters include quizzes and exercises to check you’ve understood the concepts, along with points to watch out for, and interesting ‘by the way’ asides. In some ways the most useful information in the whole book is to be found in the Watch Out and By the Way boxouts, particularly in the more advanced chapters on complex queries and performance tuning.

The chapters on SQL start with simple queries and work up through subqueries, performance tuning, using SQL to manage users and security, and using views and the system catalog. The final part of the book looks at advanced SQL topics such as cursors, stored procedures and triggers, XML, and using SQL on the Internet and Intranet. The chapter on SQL and the Intranet seemed a bit theoretical but would be a useful pointer to the sort of things you might want to do; it wouldn’t be enough to let you build an app without finding out more.

To developers the basic commands of SQL will appear pretty trivial, and I think this book would be a good companion to get you up to speed on some of the more advanced topics. You won’t come out as a SQL expert, but you will know enough to make the SQL in your applications work, and work pretty well.

 

Banner


Reliable Source: Lessons from a Life in Software Engineering

Author: James Bonang
Date: January 2022
Pages: 608
Kindle: B09QCBVJ9V
Audience: General interest
Rating: 5
Reviewer: Kay Ewbank

This book combines a fun read with interesting insights into how to write reliable programs.



Administering Relational Databases on Microsoft Azure

Author: Prashanth Jayaram et al
Publisher: Independent
Pages: 622
ISBN: 979-8706128029
Print: B08Y4LBTP4
Kindle: B08XZQJHMK
Audience: Azure DBAs
Rating: 2 or 4 (see review for details)
Reviewer: Ian Stirk

This book aims to help you pass the Azure Relational Database exam DP-300, how does it fare?


More Reviews

Last Updated ( Thursday, 08 September 2011 )