A table with two names or table alias

Поиск
Список
Период
Сортировка
От Tk421
Тема A table with two names or table alias
Дата
Msg-id 4889C33F.2040702@gmail.com
обсуждение исходный текст
Ответы Re: A table with two names or table alias  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: A table with two names or table alias  ("Igor Neyman" <ineyman@perceptron.com>)
Список pgsql-sql
    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.


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Anoop G"
Дата:
Сообщение: Re: postgres time zone settings(time difference in Server and client)
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: A table with two names or table alias