From: Steve Litt <slitt@troubleshooters.com>
To: pgsql-general@lists.postgresql.org
Subject: SQL queries as sets: was The tragedy of SQL
Date: Wed, 15 Sep 2021 00:54:49 -0400
Message-ID: <20210915005449.150f2e45@mydesk.domain.cxm> (raw)
In-Reply-To: <alpine.LNX.2.20.2109140545490.306@salmo.appl-ecosys.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>
<alpine.LNX.2.20.2109140545490.306@salmo.appl-ecosys.com>
Rich Shepard said on Tue, 14 Sep 2021 05:49:07 -0700 (PDT)
>On Mon, 13 Sep 2021, Guyren Howe wrote:
>
>> They are making a decent decision. SQL is a *fucking terrible*
>> language, which I don’t blame them for not wanting to learn.
>
>>> SQL is not the problem. Problem are the devs. I love SQL. I hate
>>> orms. The problem with databases is people refuse to treat it as
>>> the entity it is and want to use their beautiful OO system. Problem
>>> is databases are not OO. We need to recognize that and treat
>>> databases as databases.
>
>Guyren/Hemil,
>
>As a non-SQL expert who's used postgres since 1997 I've come to
>believe the basic issue is that SQL is based on sets, neither
>procedural or object oriented. Few people think in sets so they try to
>fit SQL into what they know rather than understand the how sets work.
Rich, could you please elaborate on SQL queries being based on sets? I
never thought of it that way, and would like to hear your related
thoughts.
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
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: slitt@troubleshooters.com
Subject: Re: SQL queries as sets: was The tragedy of SQL
In-Reply-To: <20210915005449.150f2e45@mydesk.domain.cxm>
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> <alpine.LNX.2.20.2109140545490.306@salmo.appl-ecosys.com> <20210915005449.150f2e45@mydesk.domain.cxm>
* 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