From: | "Thurstan R(dot) McDougle" <trmcdougle(at)my-deja(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Inheritance c.cities ?? |
Date: | 2001-09-13 11:32:20 |
Message-ID: | 3BA09944.D98C3FCC@my-deja.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
R Talbot wrote:
>
> Looking at the Postgresql manual in the inheritance section I see
> abbreviations.
>
> i.e.
> SELECT c.name, c.altitude
> FROM cities* c
> WHERE c.altitude > 500;
>
> c.name of course refering to cities.name
> My question is where is there an alias reference of c AS cities
>
> How does and where does the cities become c. How does Postgresql
> recognize the change.
FROM cities* c is the same as
FROM cities* AS c
I personally would prefer it if everyone used the AS when it is implied
as, IMHO, it makes such statements much clearer.
>
> bob T
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
--
This is the identity that I use for NewsGroups. Email to
this will just sit there. If you wish to email me replace
the domain with knightpiesold . co . uk (no spaces).
From | Date | Subject | |
---|---|---|---|
Next Message | Thurstan R. McDougle | 2001-09-13 12:03:54 | Re: count of occurences PLUS optimisation |
Previous Message | Giorgio Volpe | 2001-09-13 11:25:37 | where cannot use alias name of column? |