我有2台首先是使用加入2分表用不同的名称内加入
以前
lotname
--------
R16A
R17A
R17B
R18A
R18B
第二是
后
lotname
--------
R16AA
R17A
R17B
R18AAA
R18B
我想加入双方Ë表让一切都符合像R16A
应R16AA
匹配,如果我写这样的代码
select * from before
join after
on before.lotname = after.lotname
O/P
lotname lotname
R17A R17A
R17B R17B
R18B R18B
我想O/P像
Lotname Lotname
----------------------------
R16A R16AA
R17A R17A
R17B R17B
R18A R18AAA
R18B R18B
蒂姆其惊人的非常感谢你。 –