I am a beginner on SQL. I have 3 tables (A,B and C) and I want to extract only the part of A that is part of B or C.
Here is an image of what I want to extract (in red) :
I know that the intersection between A and C is obtain by :
A inner join C on #the keys
and between A and B :
A inner join B on #the keys
My question is : how to join/add those two inner join ?