X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6A44ED1B480 for ; Fri, 9 Jan 2004 07:03:03 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52973-07 for ; Fri, 9 Jan 2004 03:02:15 -0400 (AST) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by svr1.postgresql.org (Postfix) with ESMTP id DB2D5D1B47F for ; Fri, 9 Jan 2004 03:02:13 -0400 (AST) Received: from daithan.intranet.pspl.co.in shridhar_daithankar@smtp-send.myrealbox.com [202.54.11.72] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.48 $ on Novell NetWare via secured & encrypted transport (TLS); Fri, 09 Jan 2004 00:02:16 -0700 From: Shridhar Daithankar To: pgsql-docs@postgresql.org Subject: Re: The Tutorial(TM) Date: Fri, 9 Jan 2004 12:31:09 +0530 User-Agent: KMail/1.5.4 References: <200401081020.00181.peter_e@gmx.net> <11933.1073582096@sss.pgh.pa.us> In-Reply-To: <11933.1073582096@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401091231.09092.shridhar_daithankar@myrealbox.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/24 X-Sequence-Number: 2240 On Thursday 08 January 2004 22:44, Tom Lane wrote: > Peter Eisentraut writes: > > I feel that there is a very useful dividing line between chapters 2 and > > 3: chapter 2 is about getting the data in and out, to give beginners a > > feeling that the database system is working, chapter 3 is about > > refining the data structures for higher convenience, maintainability, > > and integrity -- "design". > > Perhaps a reasonable compromise would be to divide the material into 3 > chapters instead of 2 --- beginner, intermediate, advanced. Looking > at the existing TOC: Rather than putting a rating on a section, I would say let's leave the normal and advanced section as it is and add another section which illustrates "applying" postgresql/RDBMS to solve real problem. e.g. illustrate how do you normalize and maintain foreign keys to integrity. Then add cascade clause. Then views for denormalizing it. If we illustrate a real world situation, it will be easy to grasp even if it spans multiple concepts. And at the end of it cross reference to details pages at the end of each illustration. That way it will be bit more handholding rather than trying to gulp various theoretical pieces. > 2. The SQL Language > 2.1. Introduction > 2.2. Concepts > 2.3. Creating a New Table > 2.4. Populating a Table With Rows > 2.5. Querying a Table > 2.6. Joins Between Tables > 2.7. Aggregate Functions > 2.8. Updates > 2.9. Deletions > 3. Advanced Features > 3.1. Introduction > 3.2. Views > 3.3. Foreign Keys > 3.4. Transactions > 3.5. Inheritance > 3.6. Conclusion I am going to save that list or search later in archives...:-) Plan to work on it if I get time. Just a thought.. Shridhar