Re: Non-Unique intems
От | Daniel T. Staal |
---|---|
Тема | Re: Non-Unique intems |
Дата | |
Msg-id | 56990.63.172.115.138.1143641823.squirrel@MageHandbook.com обсуждение исходный текст |
Ответ на | Re: Non-Unique intems (Sean Davis <sdavis2@mail.nih.gov>) |
Список | pgsql-novice |
On Tue, March 28, 2006 8:54 pm, Sean Davis said: > Unfortunately, the biological data that you are working with has > one-to-many and many-to-many relationships. While one would like to > believe that there should not be such relationships, there are. > Therefore, you need to store the data in a manner that respects those > manifold relationships. In other words, store the data in a table with > whatever is the primary key (in this case, it looks like an IMAGE ID) > and store the annotation separately, allowing for a one-to-many > relationship between IMAGE ID and gene. There is no way around this and > to try to eliminate these "non-unique" situations in this particular > case won't be possible; instead, you have to understand where the data > are coming from and design your database to match, not the other way > around. Summary: It is easier to design databases than to design data. ;) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------
В списке pgsql-novice по дате отправления: