pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: The tragedy of SQL
Date: Thu, 16 Sep 2021 19:53:07 -0400
Message-ID: <b455acd9-b326-0c15-62bd-a257923c63b2@gmail.com> (raw)
In-Reply-To: <4B44C3F8-DC54-468A-9094-3AA3951613FC@gmail.com>
References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark>
	<d61c6062-32ae-4892-8993-9ad932e10b91@Spark>
	<CANW1aT-Q4e7X9zbaxs+r4ccGtZh8W+CA5=ozX6hDhaCrAzbsTQ@mail.gmail.com>
	<a6a667c4-0b3c-4505-9530-1c5e54d6e7b0@Spark>
	<05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com>
	<CAOzAquJF1S0tZ+7Xk5_DZ=tE_hweRo-P6=2Xw68W_KO0ZrK4hA@mail.gmail.com>
	<F20E1373-3BB0-49B2-A123-1FC7B0A961E6@fairwindsoft.com>
	<CAHyXU0ym+E+6=rQ_bRUSDCU3pE67hEupqqZBPRjybwZ7jYZtTg@mail.gmail.com>
	<0772DCF3-D60F-4102-B031-9F7908718499@fairwindsoft.com>
	<CAHyXU0wGhvuKL2TtxCznnA3P07_bkX=__QffWcO8Lep4FkZtig@mail.gmail.com>
	<4B44C3F8-DC54-468A-9094-3AA3951613FC@gmail.com>


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






view thread (61+ messages)  latest in thread

Message-ID: <b455acd9-b326-0c15-62bd-a257923c63b2@gmail.com>
Permalink:  ../b455acd9-b326-0c15-62bd-a257923c63b2@gmail.com/
Also on:    postgresql.org/message-id/b455acd9-b326-0c15-62bd-a257923c63b2@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gogala.mladen@gmail.com
  Subject: Re: The tragedy of SQL
  In-Reply-To: <b455acd9-b326-0c15-62bd-a257923c63b2@gmail.com>
  References: <4dc338ad-b0aa-4f4c-bd9c-4dc76dda9e8b@Spark> <d61c6062-32ae-4892-8993-9ad932e10b91@Spark> <CANW1aT-Q4e7X9zbaxs+r4ccGtZh8W+CA5=ozX6hDhaCrAzbsTQ@mail.gmail.com> <a6a667c4-0b3c-4505-9530-1c5e54d6e7b0@Spark> <05ac2565-b692-c73f-93f0-3bbf738e3bfc@gmail.com> <CAOzAquJF1S0tZ+7Xk5_DZ=tE_hweRo-P6=2Xw68W_KO0ZrK4hA@mail.gmail.com> <F20E1373-3BB0-49B2-A123-1FC7B0A961E6@fairwindsoft.com> <CAHyXU0ym+E+6=rQ_bRUSDCU3pE67hEupqqZBPRjybwZ7jYZtTg@mail.gmail.com> <0772DCF3-D60F-4102-B031-9F7908718499@fairwindsoft.com> <CAHyXU0wGhvuKL2TtxCznnA3P07_bkX=__QffWcO8Lep4FkZtig@mail.gmail.com> <4B44C3F8-DC54-468A-9094-3AA3951613FC@gmail.com> <b455acd9-b326-0c15-62bd-a257923c63b2@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox