----------------------<br>SELECT f.CustId, min(f.UploadDate)as FirstDate, max(fd.UploadDate)as LastDate from FileDescription f, FileDescription fd, Customer where f.CustId = fd.CustId and f.FileID = fd.FileID and not(DateDiff(day, f.UploadDate, getdate()) > "& numDays & " ) Group by f.CustId Order By f.CustId<br>-----------------------<br><br>The above shows the details of customers that have backed up between a certain time period. I want to know the details of customers who have NOT backed up within the time period.<br><br>I was guessing one way to do this is to take all the customers that have been backed up away from all of the customers which should leave all the customers that haven't backed up???. How would I do this?<br><br>I've tried doing it without the not next to datediff but it doesn't give the correct results<br>Grateful for any help given.<br>Thanks.