INSERT INTO Visitors (IPAddress, StartTime, StartDate, EndTime, EndDate, PagesVisited) VALUES ('54.198.235.165', '11:55', '20170819', '11:55', '20170819', '/brepal/default.asp? ')SELECT * FROM Visitors WHERE (IPAddress='54.198.235.165' AND StartTime='11:55' AND StartDate='20170819' AND PagesVisited='/brepal/default.asp? ') ORDER BY TimeTrackerID DESC