Skip to content

Instantly share code, notes, and snippets.

@agiliq
Created July 15, 2009 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agiliq/147915 to your computer and use it in GitHub Desktop.
Save agiliq/147915 to your computer and use it in GitHub Desktop.
Welcome to psql 8.3.7, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
test_psql=> select null as data;
data
------
(1 row)
test_psql=> select null>10, null<10, null=null, 10=10 as data;
?column? | ?column? | ?column? | data
----------+----------+----------+------
| | | t
(1 row)
test_psql=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment