I have an SQL query that I am trying that I am sure is easy, but I am not that well versed so I can't quite figure it out. Wasn't even sure how to word the question. Anyway here is what I am looking at:
I have a table that has the following columns: Hostname, Path, Filename, Filesize
It is essentially a directory listing of a number of computers (Hostnames).
What I want to get is a list of distinct Hostnames where neither of two paths exist for that host. For example, grab all Hostnames that do not have a corresponding C:\users\Jeff or C:\users\Mary directory. If they have one of the two, omit. Only return them if neither of these directories exist.
Any help would be much appreciated. Thanks!!