I don't find the sql request
Posted
by user301089
on Stack Overflow
See other posts from Stack Overflow
or by user301089
Published on 2010-04-15T14:22:29Z
Indexed on
2010/04/15
14:53 UTC
Read the original article
Hit count: 331
Hi everybody,
Here it's my problem I've a list of the following measure :
src1 dst2 24th december 2009
src1 dst3 22th december 2009
src1 dst2 18th december 2009
I would like to have just the latest measures with a sql request -> 2 first lines in my case because the pairs(src and dst) aren't the same.
I try to use DISTINCT but I have just the 2 first columns and I will all columns. I try too GROUP BY but I hadn't success.
Anyone can help me ?
Thx
Narglix
© Stack Overflow or respective owner