I have a table with firms that rent cars, with columns like
Firms | Car
GD1 | CAR1
GD1 | CAR2
GD2 | CAR3
GD3 | CAR4
And also other one with the cars rented by the clients, like this:
Client | Car Rented
C1 | CAR1
C1 | CAR2
C1 | CAR3
C1 | CAR4
C2 | CAR4
C3 | CAR1
C3 | CAR2
C4 | CAR1
C5 | CAR2
I need to know all the clients that rent all the cars from an specific firm. The only input that I have is the firm name (for instance GD1) If I use GD1 the output should be this one:
Client
C1
C3
It may seem easy, but I'm really having trouble with this one...
Thanks for the time