Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8MBd-00C11G-PK for pgsql-general@arkaria.postgresql.org; Sat, 18 May 2024 15:41:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s8MBd-0089X6-PM for pgsql-general@arkaria.postgresql.org; Sat, 18 May 2024 15:41:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8MBd-0089Ws-F3 for pgsql-general@lists.postgresql.org; Sat, 18 May 2024 15:41:29 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s8MBb-000pxj-AL for pgsql-general@lists.postgresql.org; Sat, 18 May 2024 15:41:28 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 8209D2A43CF for ; Sat, 18 May 2024 08:41:26 -0700 (PDT) Date: Sat, 18 May 2024 08:41:26 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Left join syntax error In-Reply-To: <9ef5ff57-34d2-43f5-99ca-6390d899a3f7@aklaver.com> Message-ID: <48184f5-5059-2a30-478-399390655983@appl-ecosys.com> References: <2c877258-61cc-dd2d-fac7-4f2a5c6293e7@appl-ecosys.com> <9d899286-3a73-4894-a6e0-eab529c92e65@gmx.net> <3216489-758a-faef-b21b-84c9679f53c@appl-ecosys.com> <9ef5ff57-34d2-43f5-99ca-6390d899a3f7@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, 18 May 2024, Adrian Klaver wrote: > Show the complete query. > Take the error message as correct, you are specifying 'companies as c' more > then once. Adrian, I saw that but didn't know how to specify the alias only one time. Thanks, Rich