Re: Does PostgreSQL support Constant Expression (Alias Name)? - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Does PostgreSQL support Constant Expression (Alias Name)?
Date
Msg-id 200103021731.f22HVvG20031@linda.lfix.co.uk
Whole thread Raw
In response to Does PostgreSQL support Constant Expression (Alias Name)?  (Raymond Chui <raymond.chui@noaa.gov>)
List pgsql-general
Raymond Chui wrote:
  >This is a multi-part message in MIME format.
  >--------------CDE89E33286CEE4876F664CE
  >Content-Type: text/plain; charset=us-ascii
  >Content-Transfer-Encoding: 7bit
  >
  >If  a table has columns fname, lname.
  >I want to do query like
  >
  >SELECT fname "First Name", lname "Last Name" FROM aTable;

SELECT fname AS "First Name", lname AS "Last Name" FROM aTable;

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "I will lift up mine eyes unto the hills, from whence
      cometh my help. My help cometh from the LORD, which
      made heaven and earth."
                           Psalms 121:1,2



pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: Thought on OIDs
Next
From: "Rod Taylor"
Date:
Subject: Re: Convert to upper