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 1lDA39-0005oe-0j for pgsql-general@arkaria.postgresql.org; Fri, 19 Feb 2021 17:58:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lDA35-00067B-A6 for pgsql-general@arkaria.postgresql.org; Fri, 19 Feb 2021 17:58:39 +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 1lDA35-000674-2I for pgsql-general@lists.postgresql.org; Fri, 19 Feb 2021 17:58:39 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDA2y-0004W7-Bi for pgsql-general@lists.postgresql.org; Fri, 19 Feb 2021 17:58:38 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 778B144F6; Fri, 19 Feb 2021 18:58:30 +0100 (CET) Date: Fri, 19 Feb 2021 18:58:30 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Order by not working Message-ID: <20210219175830.GG10464@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org 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> <092195EA-31B0-4EFA-B4EE-1F7F3619817C@yahoo.com> <1e4c6a71730914f3267dcaa73b6de794b0cb5b0b.camel@cybertec.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Z0mFw3+mXTC5ycVe" Content-Disposition: inline In-Reply-To: <1e4c6a71730914f3267dcaa73b6de794b0cb5b0b.camel@cybertec.at> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Z0mFw3+mXTC5ycVe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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... :) >=20 > 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 --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --Z0mFw3+mXTC5ycVe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmAv/EEACgkQ8g5IURL+ KF1VOQ//XBd9yi4Rj7XVoknPt+QYUi5ZyXBt1QpJf6WpSXcsmH9EvruHoQn+nFrh 9tiFoHszPxnqNLJhi2RLqXPs8VF3eXWIasO1VPVFyixkHnLjBL+pnsUlmyHNOdn2 dIs7mD2/TkIHo7phg+BO0YAtGJuw5ThYpPL2pXdcWABV7NxhFKu0B9ap9uhlouqr D8GQhfj/4WYTNLoZdWeQDnlzaXiCzy0FButCNnpCVQ8zoAII8Iz2xEzBcl7SN2Z8 6Roisu2NAsSsda4oYqvtqSm3tl5Fu2NDKbUNZeMaRHsj+XyPKPPXp1Zk8N7n+Xk6 VTStiqh3NBxS2NJyC/5TzfgJBxdJjpdS9mU6zw9s2MzI48oNCPVc3lyEwPcxYIkv AGf0zlB0C1pUm2miChToWMoYBiPkZmFLyXhUsncOQG/fhoBIm6YhtV0VSg7uWjUQ glTgcBJwtmCpmVEQhndEeH8Jow6NCxqvfXIItAdqXdjvrCeH/MnYV76lKYrY0yPQ gbOH9YWRll1jaqnMvzVWIFWSsWjw8eVPL9uRbIn5mpikbF/VCmAzsJ10u2wAzYyA ebAe/y3jUuws9/w9wKokInVc7a+40l4XUQeGYBRYZ91A14cklwSBm24jRGgnxHqy vsEXe6I6HKTATVnID8qY2IEBrHTNbi3oczH35+LrZ7dd9ph0Zqw= =meDQ -----END PGP SIGNATURE----- --Z0mFw3+mXTC5ycVe--