Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Select records where only one column is distinct

$
0
0
head is mangled. need help trying to create query on all records to select values which needs one column being distinct (document) but has the latest date

Record Data

ID | Document | Title | Date
--------------------------------------------
1 | MRV-01 | Document A | 04-02-13
2 | MRV-01 | Document B | 05-02-13
3 | MRV-01 | Document C | 06-02-13


Trying to get the following result

ID | Document | Title | Date
--------------------------------------------
3 | MRV-01 | Document C | 06-02-13



Any help appreciated
thanks,
S

Viewing all articles
Browse latest Browse all 13329

Trending Articles