I have a table a
c1 c2 c3 c4 value
all all all all 5
all david all Y 6
all all cd all 7
and table b
c1 c2 c3 c4
a peter cd N
b david all Y
c all cd N
I want to have get the value from table a into table b, the desired results
is like this:
c1 c2 c3 c4 Value
a david cd N 5
b david ab Y 6
c all cd N 7
That is use the default "all" value if there is no close match find.
Thanks a lot!
c*****d 发帖数: 6045
2
看不懂要干什么
table A和B根据什么条件连结的?
中间可能有一个typo
c1 c2 c3 c4 Value
a david cd N 5 <-- 应该是 a peter cd N 5 ???
b david ab Y 6
c all cd N 7
x****e 发帖数: 1773
3
晕倒。
column names不能提供信息。Data types? Possible values?
【在 c*****d 的大作中提到】 : 看不懂要干什么 : table A和B根据什么条件连结的? : 中间可能有一个typo : c1 c2 c3 c4 Value : a david cd N 5 <-- 应该是 a peter cd N 5 ??? : b david ab Y 6 : c all cd N 7