i want to make a select on :
id num
28431 222.3347
28451 222.3346
28452 502.2256
where i want to get the max(id) but it's "num" too !!!
i tried :
select max(id),num from xxx group by id
and it gave me all the rows and not just the max(id)
what can i do?
thnaks in advane
peleg