I have a table with the following records (the fields are Formula - Base):
F1 - B1
F1 - B2
F1 - B3
F2 - B1
F2 - B2
F3 - B1
F3 - B2
F3 - B4
What I want is for me to select which formulas contain the bases B1, B2 and B3.
You have to show me the formulas that contain these three bases or less, as long as the formula does not have a basis other than those three (for example, F3 has B4, so it should not show F3).
I have very basic knowledge of SQL instructions, I would appreciate it if someone could help me out.
Thank you.