Re: seeking SQL book recommendation - Mailing list pgsql-general

From John R Pierce
Subject Re: seeking SQL book recommendation
Date
Msg-id 51006FEA.7090306@hogranch.com
Whole thread Raw
In response to seeking SQL book recommendation  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: seeking SQL book recommendation  (Thomas Kellerer <spam_eater@gmx.net>)
Re: seeking SQL book recommendation  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
On 1/23/2013 2:56 PM, Scott Ribe wrote:
> For a client who needs to learn how to query the db:
>
> - No SQL knowledge at all; needs to start from square 1.
>
> - Smart, capable person, who will be in this position for a long time, using this db for a long time.
>
> - No chance in hell this db will be moved off PG, so PG-centric is fine


I can't recommend any specific book as I've not read any of them (and
been doing SQL too long).  But what I *can* recommend is creating a 'sql
cookbook', maybe on an internal wiki or blog,  with a bunch of sample
queries specific to YOUR database schema that solve the sorts of
problems your user base including this client are likely to come up
against.   start with the simplest things and move up to more complex.
have a paragraph or two explaining each query, and example output.






pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: seeking SQL book recommendation
Next
From: Alexander Farber
Date:
Subject: Re: Sending several commands simultaneously to PostgreSQL 8.4