Link many attributes in one table to one attribute in another??
В списке pgsql-sql по дате отправления:
| От | Christian Anton |
|---|---|
| Тема | Link many attributes in one table to one attribute in another?? |
| Дата | |
| Msg-id | 3b3ab3aa_1@newsa.ev1.net обсуждение исходный текст |
| Ответы |
Re: Link many attributes in one table to one attribute in
another??
Re: Link many attributes in one table to one attribute in another?? |
| Список | pgsql-sql |
Hello all, I am fairly new at db design, I have built a few simple in the past and have never dealt with this type of problem before, any help would be appreciated. I have three attributes in one table that should reference one, and only one, attribute in another table. Here's an analogy of the problem: I have a table with a list of marbles, each marble has three colors in it (color1, color2, color3) and a serial number. In another table I have eight colors to choose from but the list of colors grows regularly. How do I associate a marble with three colors from the color table (a marble may have three red sides or red-yellow-blue)? Thanks, Christian
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера