Pular para o conteúdo

Fóruns SQL e PL/SQL Consulta SQL Consulta SQL

#88859
Avatar photoLeonardo Litz
Participante

    Faça assim, utilize um left join

    select a.numcad, b.codcon
    from tabela.a, tabela.b
    and a.numemp = b.numemp(+)
    and a.tipcol = b.tipcol(+)
    and a.numcad = b.numcad(+)

    Vlw Leonardo Litz