Select * from UniqueViews where ViewDate = 20180422 and ViewIPA = '54.198.134.127' and ViewPage = '/viewphoto.asp'