I think you want this:
select * from inside_sales where x = 'equipment'
union all
select * from outside_sales where x <> 'equipment';
Note: The second condition is slightly more complicated if x
can be NULL
.
1
solved Oracle NOT pl/sql [closed]