inheritance
| От | Felipe Schnack |
|---|---|
| Тема | inheritance |
| Дата | |
| Msg-id | 20030213110402.M33893@ritterdosreis.br обсуждение |
| Ответы |
Re: inheritance
|
| Список | pgsql-general |
Hi all... I'm starting to play with pgsql inheritance features and I just wondered a specific situation where I wouldn't have any idea of how to use it. Let's say I create these tables: create table persons (id serial primary key); create table students (number int) inherits persons; create table emplyees (anothernumber int) inherits persons; Let say I can have a person that is a student and is a employee of the company... how I would insert its data in my database?? Felipe Schnack Analista de Sistemas felipes@ritterdosreis.br Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br felipes@ritterdosreis.br Fone/Fax.: (51)32303328
В списке pgsql-general по дате отправления: