Can I create a table name alias?

What i want is to access the same table with two different names. An example:

I've the table CITY with fields code and name. I want to know if i can create an alternative name to table CITY, like LOCATION, to make possible these two sentences:

      insert into CITY values (10, 'New York');
      insert into LOCATION values (11, 'Paris')

   Thank you.

--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to