INSERT INTO Visitors (IPAddress, StartTime, StartDate, EndTime, EndDate, PagesVisited) VALUES ('3.80.224.52', '20:54', '20190423', '20:54', '20190423', '/brepal/login.asp? ')SELECT * FROM Visitors WHERE (IPAddress='3.80.224.52' AND StartTime='20:54' AND StartDate='20190423' AND PagesVisited='/brepal/login.asp? ') ORDER BY TimeTrackerID DESC