Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
3debf968
Commit
3debf968
authored
20 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Fix markup.
parent
026a8510
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/FAQ
+5
-5
5 additions, 5 deletions
doc/FAQ
doc/src/FAQ/FAQ.html
+2
-2
2 additions, 2 deletions
doc/src/FAQ/FAQ.html
with
7 additions
and
7 deletions
doc/FAQ
+
5
−
5
View file @
3debf968
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Thu Feb 24 19:3
2
:0
4
EST 2005
Last updated: Thu Feb 24 19:3
3
:0
7
EST 2005
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
...
@@ -645,10 +645,10 @@
FROM tab
WHERE col IS NULL;
To sort by the NULL
IS NULL
and IS NOT NULL modifiers
in your WHERE clause. Things that are true
will sort higher than
things that are false, so the following will put
NULL entries at the
top of the resulting list:
To sort by the NULL
status, use the IS NULL and IS NOT NULL modifiers
in your WHERE clause. Things that are true
will sort higher than
things that are false, so the following will put
NULL entries at the
top of the resulting list:
SELECT *
FROM tab
ORDER BY (col IS NOT NULL)
...
...
This diff is collapsed.
Click to expand it.
doc/src/FAQ/FAQ.html
+
2
−
2
View file @
3debf968
...
...
@@ -10,7 +10,7 @@
alink=
"#0000ff"
>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated: Thu Feb 24 19:3
2
:0
4
EST 2005
</P>
<P>
Last updated: Thu Feb 24 19:3
3
:0
7
EST 2005
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
...
...
@@ -828,7 +828,7 @@ table?</TD><TD>unlimited</TD></TR>
WHERE col IS NULL;
</PRE>
<P>
To sort by the
<SMALL>
NULL
</SMALL
status,
use
the
<SMALL
>
IS NULL
</SMALL>
<P>
To sort by the
<SMALL>
NULL
</SMALL
>
status, use the
<SMALL>
IS NULL
</SMALL>
and
<SMALL>
IS NOT NULL
</SMALL>
modifiers in your
<SMALL>
WHERE
</SMALL>
clause.
Things that are
<I>
true
</I>
will sort higher than things that are
<I>
false
</I>
,
so the following will put NULL entries at the top of the resulting list:
</P>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment