I am trying to create a SQL query that pulls all unique records created in the same day. Example:
Table 1
Field 1 Field 2 Field 3
Bob bob@yahoo.com 2015-07-15
Rob rob@gmail.com 2015-07-16
Tiffany bob@yahoo.com 2015-07-15
the result should be:
Field 1 Field 2 Field 3
Bob bob@yahoo.com 2015-07-15
Rob rob@gmail.com 2015-07-16
I tried to use select distinct, but I need the result to contain all fields. De-duplication should be on email address and it can pull either the first or last entry.