It is not possible to combine by UNION function if both queries are not with equal columns.
Not sure IF Else function fulfill your requirement.
It is not possible to combine by UNION function if both queries are not with equal columns.
Not sure IF Else function fulfill your requirement.