Hi All,
select m_id, total, cat_id
from scott.maintenance
where prod_id = 1
union all
select m_id, total, prod_id
from scott.maintenance
where prod_id = 4
How can I display all the columns(common and not) from both tables when I use union all like
m_id, total, cat_id, prod_id
Thanks
Johnny