I have 2 tables that look like this:
Table A
key1 key2 key3
1 a a
2 a a
3 a a
Table B
key1 key2 key3
1 xxx zzz
2 yyy www
Now I want to have a large table from A and B where A.key1 corresponds to B.key1, the contents of B are inserted otherwise, if no key1 matches the default values,
eg
Key1 Key2 Key3 Key5 Key6
1 a a xxx zzz
2 a a yyy www
3 a a 0 0
What is a request?
source
share