postgres=#
postgres=# SELECT 2 + 2 AS "2 plus 2", pi() AS "the pi function", 'PostgreSQL is more than a calculator!' AS comments;
2 plus 2 | the pi function | comments
----------+------------------+---------------------------------------
4 | 3.14159265358979 | PostgreSQL is more than a calculator!
(1 row)
postgres=#
postgres=#
|