Вы хотите запросить с помощью SQL, используя внутреннее соединение
--This line selects the fields that we want to take from the first table
SELECT table1.userID, table1.accessTime, table1.systemURL
FROM table1
INNER JOIN
--where the urls are the same
ON table2.systemURL = table1.systemURL
--compare the dates to see if it accessed outside of the window
WHERE table1.accessTime<=table2.windowStart Or table1.accessTime>=table2.windowEnd;
Но, пожалуйста, в следующий раз сообщите нам, что вы пробовали