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