Hi there
Been away from SQL for about a year and I am really struggling on something I think is rather basic. I have a table, PARTS, it contains the following two columns Part_No and City, I want to return all Part_No where the city for that Part_No is London and Frankfurt. See sample below:
Part_No | City
------------
3 | Stockholm
4 | London
4 | Frankfurt
5 | London
5 | Stockholm
6 | Milan
So the query sould return Part_No 4 because it has cities London and Frankfurt. Please help me, otherwise I think I could rip out all of my hair.
Cheers
Been away from SQL for about a year and I am really struggling on something I think is rather basic. I have a table, PARTS, it contains the following two columns Part_No and City, I want to return all Part_No where the city for that Part_No is London and Frankfurt. See sample below:
Part_No | City
------------
3 | Stockholm
4 | London
4 | Frankfurt
5 | London
5 | Stockholm
6 | Milan
So the query sould return Part_No 4 because it has cities London and Frankfurt. Please help me, otherwise I think I could rip out all of my hair.
Cheers