G
Guest
Hi everyone
I've been trying to figure out how to do this query. I have a table and let's say it has three fields: site name, type of measurement, measurement result. One site name will show up in several lines (for every type of measurement done at the site). I want to query the table so that I get all the different site names where at least one of the following measurement types, temperature and humidity, is not equal to zero (just an example!). But, along with the site names, I also want it to show the remaining of the site's measurements and results (even if they are diferent than zero), as long as either the temperature or the humidity are zero. I can create a query to give me the site names that fit the parameters, but how do I get it to show the rest of the results as well? Should I then use that list to re-query the main table for the rest of the results? How? Is there an easier way to do this
I hope I have made myself clear. Any help would be appreciated
Thanks!
I've been trying to figure out how to do this query. I have a table and let's say it has three fields: site name, type of measurement, measurement result. One site name will show up in several lines (for every type of measurement done at the site). I want to query the table so that I get all the different site names where at least one of the following measurement types, temperature and humidity, is not equal to zero (just an example!). But, along with the site names, I also want it to show the remaining of the site's measurements and results (even if they are diferent than zero), as long as either the temperature or the humidity are zero. I can create a query to give me the site names that fit the parameters, but how do I get it to show the rest of the results as well? Should I then use that list to re-query the main table for the rest of the results? How? Is there an easier way to do this
I hope I have made myself clear. Any help would be appreciated
Thanks!