MySQL Forums
Forum List  »  Portuguese

Select comparando dois campos da mesma tabela
Posted by: Claudinei J Sartori Filho
Date: October 07, 2010 03:01PM

Preciso fazer um select que me retorne campo1 diferente de campo 1 porém com campo 2 igual ao campo 2

Por exemplo:

campos: nome, endereco


Retornar clientes com o mesmo endereço mas nomes diferentes é possível?

Obrigado

Options: ReplyQuote


Subject
Views
Written By
Posted
Select comparando dois campos da mesma tabela
4642
October 07, 2010 03:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.