I have two views:
view1 view2
obj obj attribute
+-+ +-+--+
|A| |C|27|
+-+ +-+--+
|B|
+-+
|C|
+-+
How can I combine the values and return the output,
obj attribute
+-+--+
|A| 0|
+-+--+
|B| 0|
+-+--+
|C|27|
+-+--+
with 0’s as default values in SQL? I don’t want to use PL/SQL.
1 Answer