外键可以在一行中重复出现吗

can foreign key be recurred in one row

在货代项目中 我有一个 table 名为 Ports

portid
portname

与报价有一对多的关系,

Quotationid
Qoutationdate
POL
POD

我想显示用户下拉列表在 POL 和 POD 中显示端口名并在两个字段中保存端口号

那么,外键可以在一行中重复出现吗? , 提前致谢。 以及如何在 MVC 模型中实现它

年。外键只不过是普通的 columns/attribute,只不过它们只包含对其他关系的引用。在 tuple/row 中重复使用外键并没有错。