May 3, 2006 #1 Ed75 MIS Joined Sep 29, 2004 Messages 27 Location US I need to select everything from a table between two dates but only need one result per person. I can use SSN to identify an individual. Help me out please, this is not something i'm used to.. Thanks
I need to select everything from a table between two dates but only need one result per person. I can use SSN to identify an individual. Help me out please, this is not something i'm used to.. Thanks
May 3, 2006 #2 DotNetGnat Programmer Joined Mar 10, 2005 Messages 5,548 Location IN does this work for you? Select SSN, Max(mydate) from mytable Where mydate between date1 and date2 group by SSN -DNG Upvote 0 Downvote
does this work for you? Select SSN, Max(mydate) from mytable Where mydate between date1 and date2 group by SSN -DNG
May 3, 2006 Thread starter #3 Ed75 MIS Joined Sep 29, 2004 Messages 27 Location US That should work fine, thanks very much Upvote 0 Downvote