Vi kan använda multiplicera kolumner i en IN-sats:
select id, bdate, value
from myview
where (id, bdate) in
(select id, max(bdate)
from myview group by id)
/
Vi kan använda multiplicera kolumner i en IN-sats:
select id, bdate, value
from myview
where (id, bdate) in
(select id, max(bdate)
from myview group by id)
/