Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Date Issue

$
0
0
Hi, 

I have the following output in a table: 

UID        FID        nDate 
----------------------------------- 
178        100        2013-06-03 16:12:23.000 
178        99        2013-05-30 07:30:41.000 
178        99        2013-05-30 07:26:59.000 
178        99        2013-05-30 07:24:14.000 
178        99        2013-05-29 06:58:13.000 
178        99        2013-05-29 06:51:59.000 
178        99        2013-05-28 20:02:10.000 

I just want to retrieve UID, FID and Date column based on latest date entry so the result should look like this: 

UID        FID        nDate 
----------------------------------- 
178        100        2013-06-03 16:12:23.000 
178        99        2013-05-30 07:30:41.000 

Any help would be great. 

Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>