select debito, codigo, ano, 0 from existen where codigo = ‘10102043990215’ and ano = 5 union select e.debito, e.codigo, e.ano, 1 from existen as e, items as i where e.codigo = i.referencia and i.codigo = ‘10102043990215’ and ano = 5 order by 4
Emisora Colombiana Online, Noticias, Entretenimiento, Farandula, Deportes
select debito, codigo, ano, 0 from existen where codigo = ‘10102043990215’ and ano = 5 union select e.debito, e.codigo, e.ano, 1 from existen as e, items as i where e.codigo = i.referencia and i.codigo = ‘10102043990215’ and ano = 5 order by 4