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 1s2r5D-006lUi-8B for pgsql-docs@arkaria.postgresql.org; Fri, 03 May 2024 11:28:07 +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 1s2r5A-008TR8-LX for pgsql-docs@arkaria.postgresql.org; Fri, 03 May 2024 11:28:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2r5A-008TR0-DY for pgsql-docs@lists.postgresql.org; Fri, 03 May 2024 11:28:05 +0000 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2r58-001Ki2-El for pgsql-docs@lists.postgresql.org; Fri, 03 May 2024 11:28:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 720B6114019D; Fri, 3 May 2024 07:28:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 03 May 2024 07:28:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1714735680; x=1714822080; bh=ZEgDOo0nEaisqL/nHRKGp0oF5R3SVJT80W6OuYWHtzg=; b= n2M98mD0GK/ZQWkJg7StuHMlDQk1Dr/ybwHjOclfaeymHHyTP1YkG9c94sCNCZNA Jq+BEYfQ6NPnp7aQGTRpwonEaHk2ZdKLZENIxoqF5HoYZLBMm3t0ba+aI/RkZFvv zdrskzdwDSLxvjlMZdHu8FXXEkdKrEeYBMkSEAP9hWPgw6YfXnh9neO3c3LRJrEh tJUGMYaBbsBulxJgoyUsRTpm54hHLH2uTBfv/a43r0VFkg7NLFinupSWc8HdGggC IlrOKmcQ7zyS5H8Uj1k1O7rfAl90VEAzZj92YR9HXFHXmBQBDstBsTC1iK9I1ot+ CtQ919Y6ObtJ8m66o+ysUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714735680; x= 1714822080; bh=ZEgDOo0nEaisqL/nHRKGp0oF5R3SVJT80W6OuYWHtzg=; b=L WmBMoWVAMLLqMPfkPqwDZDzWvh421+y/h1xS2HDVEQaVwIDhNThvxjWTKwS11pDF 01rmZpAg36PaF5tgEaHZgoB9SVndfvk3Kz/514AvYuMEXYJIYs1gpx5Z7b3yZUHx 3r+tsUojLenioLiKM95qp6sJOOccTQ/yzeZd9Fp8gdLkm4sIYG2DiTBk4rmcjnsm 2JYrw0SCe645uYLmRYeSdU+L36VffYxwJJf2fGCuIg+RMNcJ4FJB4EIt4boryIlk GFYB9tuLK3otQuZfpUHEojdXeXsQg1yEzhDw4PzTLQV0VcNDTx6usDMuIpnFObDA z+sXeazhM8k592KgHH9ug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvtddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtvdejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghr segvihhsvghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvghrnhepgeeuuedvhfehue eijeetgfdutdfhveevfeeugfdtvdfgteetheejteeluedvvedunecuffhomhgrihhnpehp ohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 May 2024 07:27:59 -0400 (EDT) Message-ID: Date: Fri, 3 May 2024 13:27:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: The PostgreSQL Select Syntax To: mohamedhussein10445@gmail.com, pgsql-docs@lists.postgresql.org References: <171467330713.708.11362279483258372836@wrigleys.postgresql.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <171467330713.708.11362279483258372836@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 02.05.24 20:08, PG Doc comments form wrote: > I'm writing to seek clarification regarding the scope of the formal syntax > outlined in the documentation for the SELECT statement > (https://www.postgresql.org/account/comments/new/16/sql-select.html/). > > I understand that this syntax defines the core structure and rules for > constructing valid queries. However, I'm interested in building an > Object-Relational Mapper (ORM) for PostgreSQL. > > My primary question is: Does the documented formal syntax represent the > absolute limit of what PostgreSQL can understand and process, or are there > additional functionalities beyond these core rules? The documentation on those reference pages like the one you show for SELECT is intended to be a complete description of the syntax and semantics of the command. But there is additional relevant information in other parts of the documentation, such as the basic elements SQL syntax, or the input and output formats of data types.