Hello!
I am doing a query like this one (Mysql 4.0.x):
SELECT Price1, Price2, Date1
FROM abc
GROUP BY Date1
ORDER BY Date 1;
Now I want to get the last elements from the Price1 and Price2 column.
e.g.
Price 1 | Price 2 | Date1
12 | 13 | 2001
11 | 12 | 2001
21 | 22 | 2001
11 | 12 | 2002
Now the query puts something like this out:
12,13,2001
11,12,2002
But I want to get the last elements of Price1,2:
21,22,2001
11,12,2002
I hope you understand what I mean, and I am looking forward to your hints 😉.
Thanks,