0663NAME IS NULL
2018/12/17(月) 19:37:22.24ID:???postgresql9手元で動かせません。MariaDBです
テーブル名はproductと仮定しました
select * from product
where (major_ver,minor_ver) in (
select major_ver,max(minor_ver)
from (
select major_ver,minor_ver
from product
where major_ver = (select max(major_ver) from product )
) as t
);