Yopu can user ROW_NUMBER() to do this - something like this:
select *
from
(
select
row_number() over (partition by item order by version desc) as xrow,
version,
item,
price
from table
)
where xrow = 1
This gives you the latest version for each item because the version numbers are in desc order