X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1A4DB3A4061 for ; Tue, 2 Nov 2004 19:53:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72291-06 for ; Tue, 2 Nov 2004 19:53:23 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 166AD3A4047 for ; Tue, 2 Nov 2004 19:53:24 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id iA2JrMJ7073228 for ; Tue, 2 Nov 2004 19:53:22 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id iA2Ja9f2067598 for pgsql-sql@postgresql.org; Tue, 2 Nov 2004 19:36:09 GMT From: jcelko212@earthlink.net (--CELKO--) X-Newsgroups: comp.databases.postgresql.sql Subject: third edition of SQL FOR SMARTIES Date: 2 Nov 2004 11:36:09 -0800 Organization: http://groups.google.com Lines: 15 Message-ID: <18c7b3c2.0411021136.4521911@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200411/58 X-Sequence-Number: 19377 I am getting ready to do the third edition of SQL FOR SMARTIES this month. If anyone has an SQL programming technique, trick or tip that they would like to see in the book, drop me an email. You get a virtual beer and your name in the book. Even better, if you have an improvement on something in the second edition, you get two virtual beers and a chance to humilate me in my own book! I know that this is not exactly the newsgroup for Standard SQL programming, but you guys seem to reference the book fairly often in postings. I am looking for code that is Standard SQL-92 or higher, but if you do not know Standard SQL, then use poprietary code that maps into Standard SQL (the most common example would be temporal functions) or it should be portable (i.e. The MOD() function is not part of SQL-92, but every SQL product has some version of it).