inheritance
inheritance
От:
Ingrith Andrea Correa Vargas <i-correa@uniandes.edu.co>
Дата:
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... TYhank you in advance, Ingrith Correa :)
Re: [SQL] inheritance
От:
Chris Bitmead <chris.bitmead@bigfoot.com>
Дата:
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?