Skip to content

Find the names of the suppliers who supply all the parts in MS Access

I have three tables:

I want to find the names of the suppliers who supply all the parts in MS Access.

This code does not work properly:

What could be done better?

Advertisement

Answer

You need a CROSS join of Suppliers and Parts and a LEFT join to SPB.
Then you group by supplier and set the condition in the HAVING clause:

User contributions licensed under: CC BY-SA
1 People found this is helpful