I want to add to table A informations in table B only for the rows of table A having one and only one row match in table B.
Example : GIVEN table A
+ lastName firstName
+ A B
+ C D
+ E F
AND table B
* lastName firstName age
* A B 10
* C D 15
* C D 20
I WANT TABLE RESULT
* lastName firstName age
* A B 10
* C D null
* E F null
Is it possible to do it in SQL? left join is not sufficient