I have one table in this format:
Product Component
---------------------------
A part1
A part2
B part1
B part4
A part3
C part5
D part1
now I want to display product which components meet requested items, for example:
I know component are "part1" and "part3", need to show product name (that is "A").
How can I do that in SQL statement?
Thanks.