INSERT INTO Visitors (IPAddress, StartTime, StartDate, EndTime, EndDate, PagesVisited) VALUES ('23.20.86.177', '04:01', '20171020', '04:01', '20171020', '/brepal/default.asp? ')SELECT * FROM Visitors WHERE (IPAddress='23.20.86.177' AND StartTime='04:01' AND StartDate='20171020' AND PagesVisited='/brepal/default.asp? ') ORDER BY TimeTrackerID DESC