USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Fórum

  Visual Basic
Voltar
Autor Assunto:  Ajuda consulta SQL
iasvb
não registrado
Postada em 17/02/2009 09:36 hs   
Por favor como poderia fazer uma select que me retorne quais os registros que são diferentes uns dos outros..
 
Exemplo:Tabela1 Linha(Registros:01,02,03)
Tabela2 Linha(Registros:02)
 
a select me retornaria Registros 01,03
 
Agradeço desde já...
     
Maxcim
GUARULHOS
SP - BRASIL
ENUNCIADA !
Postada em 17/02/2009 09:50 hs            
select * from tabela1 where linha not in (select linha from tabela2)
 
qualquer duvida tamo ai...
   
Treze
não registrado
ENUNCIADA !
Postada em 17/02/2009 09:53 hs   
SELECT tabela1.registro,tabela2.registro FROM tabel1, tabela2 WHERE tabela1.registro = tabela2.registro
 
veja se funciona
 
 
   
Página(s): 1/1    


Seu Nome:

Seu eMail:

ALTERAR PARA MODO HTML
Mensagem:

[:)] = 
[:P] = 
[:(] = 
[;)] = 

HTML DESLIGADO

     
 VOLTAR

  



CyberWEB Network Ltda.    © Copyright 2000-2025   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página