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
37273977
Commit
37273977
authored
Jul 12, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mention of DISTINCT ON attrN
parent
76dd88f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/bin/psql/psqlHelp.h
src/bin/psql/psqlHelp.h
+5
-5
src/man/select.l
src/man/select.l
+2
-2
No files found.
src/bin/psql/psqlHelp.h
View file @
37273977
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: psqlHelp.h,v 1.4
4 1998/06/16 07:29:39
momjian Exp $
* $Id: psqlHelp.h,v 1.4
5 1998/07/12 04:49:47
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -150,7 +150,7 @@ static struct _helpStruct QL_HELP[] = {
{
"create view"
,
"create a view"
,
"create view <view_name> as
\n
\
\t
select
\n
\
\t
select
[distinct [on attrN]]
\n
\
\t
<expr1>[as <attr1>][,... <exprN>[as <attrN>]]
\n
\
\t
[from <from_list>]
\n
\
\t
[where <qual>]
\n
\
...
...
@@ -158,7 +158,7 @@ static struct _helpStruct QL_HELP[] = {
{
"declare"
,
"set up a cursor"
,
"declare <cursorname> [binary] cursor for
\n
\
\t
select [distinct]
\n
\
\t
select [distinct
[on attrN]
]
\n
\
\t
<expr1> [as <attr1>],...<exprN> [as <attrN>]
\n
\
\t
[from <from_list>]
\n
\
\t
[where <qual>]
\n
\
...
...
@@ -239,7 +239,7 @@ static struct _helpStruct QL_HELP[] = {
"insert tuples"
,
"insert into <class_name> [(<attr1>...<attrN>)]
\n
\
\t
values (<expr1>...<exprN>) |
\n
\
\t
select [distinct]
\n
\
\t
select [distinct
[on attrN]
]
\n
\
\t
<expr1>,...<exprN>
\n
\
\t
[from <from_clause>]
\n
\
\t
[where <qual>]
\n
\
...
...
@@ -278,7 +278,7 @@ static struct _helpStruct QL_HELP[] = {
"rollback [transaction|work]"
},
{
"select"
,
"retrieve tuples"
,
"select [distinct
on <attr>
] <expr1> [as <attr1>], ... <exprN> [as <attrN>]
\n
\
"select [distinct
[on <attrN>]
] <expr1> [as <attr1>], ... <exprN> [as <attrN>]
\n
\
\t
[into [table] <class_name>]
\n
\
\t
[from <from_list>]
\n
\
\t
[where <qual>]
\n
\
...
...
src/man/select.l
View file @
37273977
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/select.l,v 1.
9 1998/06/24 13:21:29
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/select.l,v 1.
10 1998/07/12 04:49:47
momjian Exp $
.TH SELECT SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
select - retrieve instances from a class
.SH SYNOPSIS
.nf
\fBselect\fR [distinct]
\fBselect\fR [distinct
[on attr_name]
]
expression1 [\fBas\fR attr_name-1]
{, expression-1 [\fBas\fR attr_name-i]}
[\fBinto\fR [\fBtable\fR] classname]
...
...
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