Here's a type of query I'm always having trouble with. There are 4 fields
in a web access log table.
User | Date | Time | Destination
I want to show all the instances of a user hitting a particular web site,
but I only want a single entry to represent that visit (not the 10 or 15
that represent every graphic that was obtained from the page as is typical
with imported web logs).
Here is a sample entry:
JackX 10/31/03 2:24:03 PM www.website.com/default.asp
JackX 10/31/03 2:24:03 PM www.website.com/images/image1.gif
JackX 10/31/03 2:24:03 PM www.website.com/images/image2.gif
JackX 10/31/03 2:27:05 PM www.website.com/default.asp
JackX 10/31/03 2:27:05 PM www.website.com/image1.gif
In my query, I'd like it to only pull the first and fifth record.
Essentially, pulling all sites with "*website.com*" and the computer name
"JackX" but I want it to only pull one entry from the 2:24:03 block and one
entry from the 2:27:05 block. How can I fitler a distinct row from the
time? Any help would be great! :)