Re: [SQL] inheritance

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: [SQL] inheritance
Дата
Msg-id 372FD327.CB1C787E@bigfoot.com
обсуждение исходный текст
Ответ на inheritance  (Ingrith Andrea Correa Vargas <i-correa@uniandes.edu.co>)
Список pgsql-sql
Ingrith Andrea Correa Vargas wrote:
> 
> Hello all!
> 
> I have a doubt: It´s possibble to insert a record in a child table and to
> have the same record inserted in the parent automatically?!...like
> inheritance is...

I'm not sure exactly what you mean. If you insert a record into a child
table and then you go SELECT * from parent*
(note the last "*") then you get both parent and child data from the one
query. Is that what you realy want or do you mean something else?


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

Предыдущее
От: Michael J Davis
Дата:
Сообщение: RE: [SQL] inheritance
Следующее
От: Joerg Fischer
Дата:
Сообщение: Re: [SQL] No DIVIDE Operator