0
My select works and returns the data I need, but it is returning more than 6000 times the same result.
How do I get it to return the result in just 01 line.
NOTE: There is only one result for this code sq_transação
, there is no possibility of duplicity or other records with the same code, what you want to do is show the same result several times.
Select T.Cd_Fase, F.ds_Fase, T.Nu_Msisdn, p.cd_tecnologia,T.Nu_Iccid Simcard, Sq_Transacao, To_char(Dh_Entrada, 'DD/MM/YY, HH24:MI:SS') Data, T.Cd_Erro_Api
from transacao t, Fase_Processamento F, plano p
where F.Cd_Fase = T.Cd_Fase --and Nu/Msisdn In ('');
and sq_transacao = '12590061';
tries to place a DISTINCT after Select to see if it resolves.
– adelmo00