I am a hardware guy - but I do understand basics - so please bear with me.
I have a data set, sample schema here - http://sqlfiddle.com/#!9/5d9bdd/4
Need to find missing items. For example, all devices (except toms) are missing "antivirus" in this data. I need to query to show me devices that do not have 'antivirus'
I think I am on the right track here by generating a cross join of devices and software - http://sqlfiddle.com/#!9/5d9bdd/3 -I get the list of all possible combinations. Now I need to join that with the actual data to find nulls. This is where I am falling on my face.
Am I on the right track? If so, how do I finish? If not - call me out and put me on the right one!
Thanks!
PS, my real data is in MySQl - but for my own sanity I am using Access as a front end. That is why I do not have an actual cross join as it is not directly supported in access.
I have a data set, sample schema here - http://sqlfiddle.com/#!9/5d9bdd/4
Need to find missing items. For example, all devices (except toms) are missing "antivirus" in this data. I need to query to show me devices that do not have 'antivirus'
I think I am on the right track here by generating a cross join of devices and software - http://sqlfiddle.com/#!9/5d9bdd/3 -I get the list of all possible combinations. Now I need to join that with the actual data to find nulls. This is where I am falling on my face.
Am I on the right track? If so, how do I finish? If not - call me out and put me on the right one!
Thanks!
PS, my real data is in MySQl - but for my own sanity I am using Access as a front end. That is why I do not have an actual cross join as it is not directly supported in access.