Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
92f7eebb
Commit
92f7eebb
authored
Jan 19, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that WITH queries are also called Common Table Expressions.
Peter Geoghegan, reviewed by Stephen Frost
parent
357faea8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
doc/src/sgml/acronyms.sgml
doc/src/sgml/acronyms.sgml
+9
-0
doc/src/sgml/queries.sgml
doc/src/sgml/queries.sgml
+3
-2
No files found.
doc/src/sgml/acronyms.sgml
View file @
92f7eebb
...
...
@@ -98,6 +98,15 @@
</listitem>
</varlistentry>
<varlistentry>
<term><acronym>CTE</acronym></term>
<listitem>
<para>
<link linkend="queries-with">Common Table Expression</link>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><acronym>CVE</acronym></term>
<listitem>
...
...
doc/src/sgml/queries.sgml
View file @
92f7eebb
...
...
@@ -1525,7 +1525,7 @@ SELECT <replaceable>select_list</replaceable> FROM <replaceable>table_expression
<sect1 id="queries-with">
<title><literal>WITH</literal> Queries</title>
<title><literal>WITH</literal> Queries
(Common Table Expressions)
</title>
<indexterm zone="queries-with">
<primary>WITH</primary>
...
...
@@ -1539,7 +1539,8 @@ SELECT <replaceable>select_list</replaceable> FROM <replaceable>table_expression
<para>
<literal>WITH</> provides a way to write subqueries for use in a larger
query. The subqueries can be thought of as defining
query. The subqueries, which are often referred to as Common Table
Expressions or <acronym>CTE</acronym>s, can be thought of as defining
temporary tables that exist just for this query. One use of this feature
is to break down complicated queries into simpler parts. An example is:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment