Hi, 

I've indexed a database records with the following layout: 

Company Partner 
C1 P1 
C1 P2 
C2 P1 


The system should support searching by partner and return the partner companies 
and, in the similar way, a query for a company name should return the companies 
matching the search, but with the layout above I'll get some results 
duplicated. Is there a way to select ** distinct ** values of certain fields? 

Thanks in advance, 
Eduardo. 





-


"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure."

Reply via email to