Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mR1Bv-0001BW-AQ for pgsql-general@arkaria.postgresql.org; Thu, 16 Sep 2021 23:53:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mR1Bt-00028P-J3 for pgsql-general@arkaria.postgresql.org; Thu, 16 Sep 2021 23:53:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mR1Bt-00028H-6S for pgsql-general@lists.postgresql.org; Thu, 16 Sep 2021 23:53:17 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mR1Bm-0000L7-Q1 for pgsql-general@lists.postgresql.org; Thu, 16 Sep 2021 23:53:16 +0000 Received: by mail-qt1-x833.google.com with SMTP id u4so7265519qta.2 for ; Thu, 16 Sep 2021 16:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=FcYBYg/phA1f3dvZIWxfnJACVN9zBGglRBmYByhyxhE=; b=Ghsfgx0unpUJN3pBaNq8BLpgOOvyk8WzNJG89fTcEYWAw5dbjUzNUChwxv/AAYWF5R mY6ppCZiPbL2L6Tc6wgxhtJnb8zUueb1vLojtUCc3vJOfjtLSVJsdSo8rk87jnCAnRX6 ELi9k5fbSDT3ZRNcRc7R7VShsZF8SVImSuqxQoVvnRHkUrUjDo7MgNSrrn+iflnexgHZ yNQv+r6DveXvh0hTIov+QgrdcygbmryqGwT3lSwJBgj1qdIXX+cfPxJaj8ybkLuY4dnI rp5LBz1Gmn68yjL/vc9IQl8J8YvoVCDRqHxd7I8XzGzX4eK2lbW/solk4eylRSOq4wGf Cj5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=FcYBYg/phA1f3dvZIWxfnJACVN9zBGglRBmYByhyxhE=; b=uqoynyZkcXNLNwoTec01d7JuAjoPV3E+ErZ6vQbGl2+DtqQfAnemGudaKDqMjD67Kn U0WABgjKP2obmnfrRlYhEwVy4q5aAtkZigyjJ/6HnC++0gucN0cCMXVYalw4oImwJ6gj yoibdm7WJw0aQU4mozroD3wBOJBSlhjoZ3YZgArkf5tc+vGT0assxP+OlvFe6p9TihSp MtZvCuseFfAYtfS446VO+pJDyd0S9f88YePcIlVVYSQuys8RshZTijJ+/OHNTuUk8c4g t7w/RM7R8BxCzM6lXiZbTZ70HbPYlqHiYxG+mtYAj6rcXl8W+b8w5nZ7HgrWzgqs4ixe xEow== X-Gm-Message-State: AOAM5314w1M3foUdcJ1V46NozepuN4pEW2H+VwczXoun2vePsZBezLfj sYH315MP0ImCn5rux6DodhJm7nHfhO8+WETl X-Google-Smtp-Source: ABdhPJzx0NMZV15s9c/FTGSVetKWXhuTFUVAnpjcm/rR1AO/KcYziV6jDFVlrDZkaOhfa1RI4H0brw== X-Received: by 2002:ac8:7285:: with SMTP id v5mr7773015qto.300.1631836389342; Thu, 16 Sep 2021 16:53:09 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id g8sm3518815qkm.25.2021.09.16.16.53.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Sep 2021 16:53:08 -0700 (PDT) Message-ID: Date: Thu, 16 Sep 2021 19:53:07 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: The tragedy of SQL Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> <05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com> <0772DCF3-D60F-4102-B031-9F7908718499@fairwindsoft.com> <4B44C3F8-DC54-468A-9094-3AA3951613FC@gmail.com> From: Mladen Gogala In-Reply-To: <4B44C3F8-DC54-468A-9094-3AA3951613FC@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/16/21 19:29, Guyren Howe wrote: > Missing my original point here. The set theory is the _point_. SQL is > a gargantuan distraction from using it efficiently. > > Imagine if COBOL was the only widely-available programming language > with functions. You might use it, because functions are really great > abstraction for programming. That wouldn’t mean that COBOL wasn’t an > utterly awful language. > > SQL is like that, only for relations, sets and logic. I am probably a bit biased because I am using SQL for a few weeks now. I was the first person certified for teaching Oracle 6 internals in the EMEA region and I was a certified Oracle 5.1.22 DBA on VAX/VMS. So, by using SQL for several weeks now, I grew attached to it and I like it. My second problem is my mathematical background. I have a Bsc in mathematics and was quite well acquainted not only with the basic set theory but also with things like Zermelo's  axiom of choice, Zorn's lemma and well ordering theorem. I am still quite familiar with the relational algebra, unions, intersections, Cartesian products, equivalence relations and alike. I think that SQL represents relational algebra quite well. It must be doing something right, because it lasts for so long. After all, it was created by a mathematician. There is a famous quote from the move "Chinatown" saying that politicians, ugly buildings, and whores all get respectable if they last long enough. The same applies to computer languages. I love the smell of SQL in the morning. -- I'll speak the key, the whole key and nothing but the key, so help me Codd. Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com