pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Order by not working
Date: Fri, 19 Feb 2021 18:58:30 +0100
Message-ID: <20210219175830.GG10464@hjp.at> (raw)
In-Reply-To: <1e4c6a71730914f3267dcaa73b6de794b0cb5b0b.camel@cybertec.at>
References: <8D049DD1-DC0D-498B-B7C1-773C4FB82B22.ref@yahoo.com>
	<8D049DD1-DC0D-498B-B7C1-773C4FB82B22@yahoo.com>
	<39D5CE9D-B64F-420F-8260-88B6CD50DED3@datylon.com>
	<2DD24450-CD97-4212-89A9-3640A07B1E0C@yahoo.com>
	<CAKFQuwam37MvQTsCitP-sk6b8XAG-B1+75EnYy2NMkQK2RXf7w@mail.gmail.com>
	<092195EA-31B0-4EFA-B4EE-1F7F3619817C@yahoo.com>
	<ff1f0ae0-d505-6772-a18e-92f707419479@gmail.com>
	<1e4c6a71730914f3267dcaa73b6de794b0cb5b0b.camel@cybertec.at>

On 2021-02-17 08:45:05 +0100, Laurenz Albe wrote:
> On Tue, 2021-02-16 at 16:11 -0600, Ron wrote:
> > SQL is only intuitive to people who've done programming... :)
> 
> SQL is quite counter-intuitive to people who have only done
> procedural programming.

Yes, different paradigm. SQL is more like a functional or logic
programming language (I often thought that Prolog would make a nice
query language for an RDBMS).

It also fell into what I like to call the COBOL trap: Designing a
language so that looks like normal English in the hope that "ordinary
people" will be able to use it. In reality that doesn't help
non-programmers much (it's still a formal language with precise
semantics and the computer will do what you say, not what you mean), but
makes it harder for programmers.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (10+ messages)

Message-ID: <20210219175830.GG10464@hjp.at>
Permalink:  ../20210219175830.GG10464@hjp.at/
Also on:    postgresql.org/message-id/20210219175830.GG10464@hjp.at

 · 

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: hjp-pgsql@hjp.at
  Subject: Re: Order by not working
  In-Reply-To: <20210219175830.GG10464@hjp.at>
  References: <8D049DD1-DC0D-498B-B7C1-773C4FB82B22.ref@yahoo.com> <8D049DD1-DC0D-498B-B7C1-773C4FB82B22@yahoo.com> <39D5CE9D-B64F-420F-8260-88B6CD50DED3@datylon.com> <2DD24450-CD97-4212-89A9-3640A07B1E0C@yahoo.com> <CAKFQuwam37MvQTsCitP-sk6b8XAG-B1+75EnYy2NMkQK2RXf7w@mail.gmail.com> <092195EA-31B0-4EFA-B4EE-1F7F3619817C@yahoo.com> <ff1f0ae0-d505-6772-a18e-92f707419479@gmail.com> <1e4c6a71730914f3267dcaa73b6de794b0cb5b0b.camel@cybertec.at> <20210219175830.GG10464@hjp.at>

* 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