Archive for the ‘Reviews’ Category

Book Review: SQL and Relational Theory

Tuesday, December 1st, 2009
Front cover of the book "SQL and Relational Theory"

The first thing to know about SQL and Relational Theory is that it’s largely a retread of Chris Date’s previous excellent book Database in Depth. The latter is a favourite of mine: extremely readable, yet with enough theoretical clout to change the way I looked at databases forever. The new volume carries over large chunks of the text from the older one, with some minor tweaks. As the name suggests, it brings in substantial additional material to link relational theory in with SQL, the only practical implementation of the model in current use.

The front cover of "Database in Depth"

In the preface, Date explains that the motivation for the new book was the realisation that practitioners weren’t able to figure out for themselves how to apply his theoretical ideas within SQL. Clearing up this difficulty is an admirable goal, and illustrates well that Date’s approach is practical and not meant as ivory-tower theory, but I can’t help but wonder if one of the reasons he didn’t state was that books sell better with ‘SQL’ in the title.

The additional material has resulted in a book that is roughly twice as long. This isn’t a problem in itself, though it does spoil one of the things I loved about “In Depth”: that it could be read in a couple of evening’s work by a sufficiently motivated person. The importance of making a book light enough that you can sit and read it on the sofa without looking like a database nerd should not be understated.

The prose remains clear and readable, and strikes a nice balance that makes it approachable to relative beginners while avoiding ever sounding patronising. Date’s style is precise to a fault, and some people will find it needlessly pedantic; nevertheless, there isn’t any pointless pedantry here, and if you stick with it you’ll learn why subtle distinctions need to be made.

So how useful are the new insertions on SQL? I find it difficult to tell. On the one hand, it makes it much easier to relate the ideas in this book to discussions of theory that actually occur in the real world, since SQL is the lingua franca. In the old book, it was certainly annoying to have all the examples written in Tutorial D, without a real specification of how the language works. On the other hand, Date’s examples in this book are still in a mythical beast called “Standard SQL”, of which no practical implementation exists. What is good practice in standard SQL might be impossible in your chosen implementation, or there might be a better way to achieve the same thing.

It’s certainly worth buying one of the two books here, but the choice of which is not as obvious. If you already own “In Depth”, the updated version probably isn’t worth buying. If you don’t, then “SQL and Relational Theory” is the thing to buy, unless you’re after a lighter and more portable read.

Book Review: Medical Ethics: A Very Short Introduction

Friday, October 30th, 2009

medical_ethicsThe “Very Short Introductions” series is by and large very good, but I have two concerns. Firstly, books in the series are often more strongly opinionated than one might like in a general introduction.

Secondly, I worry that the books don’t really form introductions to a subject at all, but rather “bluffer’s guides”, that are the first and last book a person picks up on the subjct. To pick one subject I’m reasonably familiar with, I have a long-standing suspicion that teaching mathematics to a casual audience is worse than useless. Even when the reader is an active student of the subject, these books can be used to bypass study rather than to inspire it (at least according to anecdotal evidence from my fellow students).

Happily, neither of these concerns is a significant problem for Medical Ethics: A Very Short Introduction. The author allows his opinions to show through, but is admirably even-handed, even generous in setting out contrasting views.

As regards being an introduction to the subject, this book fulfils its remit very effectively. The area covered is broad enough, and the background information great enough, that the book does little more than scratch the surface on important topics such as euthanasia, genetics and mental health. The necessary background in logic and philosophical rigor isn’t neglected either, with a brief section cleverly slipped in once the reader’s appetite has been whetted by a few philosophical conundrums.

I have very little to criticise about this book. It did feel terribly constrained in what it covered, and stylistically it felt like a longer book cut short to fit the publisher’s requirements rather than a perfectly-turned short book. No sooner had I started to get interested in a topic than the chapter ended—but then of course this is exactly what an introduction should be.