Good day! The question is this. There are two tables: one parent and one child - Asubtypeo and aevent respectively. The Asubtypeo table stores reference data, where the primary key is ID_Subtype. In the aevent table, the associated Code_subtype field is not everywhere filled with codes from ID_Subtype. Question: how to include in the selection all values, empty and filled with Code_subtype, and not just filled, when linked with the Asubtypeo table? I heard that NVL can help in this matter ...
How to add the following code below:
Select a.*, b.* from sevent a, Asubtypeo b WHERE (ID_Subtype = Code_subtype)