3
I have two tables:
Pessoa1 Pessoa2 +----+--------+ +----+--------+ | Id | Nome | | Id | Nome | +----+--------+ +----+--------+ | 1 | Maria | | 3 | Maria | | 2 | João | | 4 | João | +----+--------+ | 5 | Pedro | +----+--------+
I would like to get the names that appear in the two tables.
Resultado +--------+ | Nome | +--------+ | Maria | | João | +--------+
Edited question, I need it based on name.
– Jedaias Rodrigues
Arranged by adding an example taking into account the Name.
– Giancarlo Abel Giulian