【发布时间】:2018-07-08 16:28:00
【问题描述】:
我有两张桌子。
表a 看起来像这样——第一行是列名,都包含字符:
id | tractce | someString
1 | "0011900" | "Label here"
表b:
id | tractFIPS
1 | "0011900"
如何将a.tractce 转换为引用b.id 的外键列?
所以它是:
id | tractce | someString
1 | 1 | "Label here"
【问题讨论】: