PDA

View Full Version : post gres


nitin_321
09-11-02, 23:30
hi

Im using post gres for my database.Now I have got a doubt .Im using three tables with 3 entities x,y,z these have attributes.So this is ok. Now I need to get another table say a where x,y,z are attributes. But these are not static they may be dynamic. That is one row of table a may contain all the three attributes or two or one. Now how to model this situation.


Im thinking to go for linked list .But I need this data to be persisitent
Any help

bye

eperich
09-20-02, 08:27
i don't understand exactly your needs

you have 3 tables x,y,z ...ok

1 table where x,y,z are attributes


"dynamic" what do you mean with this?

one row containing all 3 attributes or 2 or 1

be more specific please?

my understanding
1 table
x text
y text
z text

you can have data in x or y or z
or am I wrong?

I don't understand the problem?