Mega Code Archive

 
Categories / PostgreSQL / Insert Delete Update
 

Do math calculation in select statement

postgres=# SELECT 2 + 2;  ?column? ----------         4 (1 row) postgres=# postgres=#