question

badongism avatar image
badongism asked

Finding combinations within the same table

Apologies if this has been answered elsewhere but this is a tricky one to phrase right. So, assume I have the following table (let's call it Dave):

Year Produced Item Colour

2012 T Shirt Red

2013 T Shirt Blue

2014 Vest Grey

2014 T Shirt Red

What I need to do is find item/colour combinations that *were* produced in 2012 but not in 2014 (so grey vests in this case). How do I do this? If it was across two tables I'd be ok but everything is in the one table.

tablescombinations
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image Kev Riley ♦♦ commented ·

But 'grey vests' were not produced in 2012 according to your data. Did you mean produced in 2014, but not in 2012?

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.