furtivevole
Technical User
I have a table holding info about software builds, part of which - very simplified - looks like this:
Product Version Release Other fields
Prod_1 1 1 Data for rel 1
Prod_1 1 2 Data for re1 2
Prod_1 1 3 etc....
Prod_1 2 1
Prod_1 2 2
Prod_2 1 1
Prod_2 1 2
Prod_2 1 3
Prod_2 1 4
We are generally only interested in the most recent (i.e. highest) release for each product/version combination. The final output should therefore look like this:
Product Version Release Other fields
Prod_1 1 3 etc....
Prod_1 2 2
Prod_2 1 4
I won't bore you with all the things I've tried over the last few hours, but unfortunately my SQL is both minimal and rusty, and nothing has worked so far. Could anyone give any ideas?
Many thanks.
Product Version Release Other fields
Prod_1 1 1 Data for rel 1
Prod_1 1 2 Data for re1 2
Prod_1 1 3 etc....
Prod_1 2 1
Prod_1 2 2
Prod_2 1 1
Prod_2 1 2
Prod_2 1 3
Prod_2 1 4
We are generally only interested in the most recent (i.e. highest) release for each product/version combination. The final output should therefore look like this:
Product Version Release Other fields
Prod_1 1 3 etc....
Prod_1 2 2
Prod_2 1 4
I won't bore you with all the things I've tried over the last few hours, but unfortunately my SQL is both minimal and rusty, and nothing has worked so far. Could anyone give any ideas?
Many thanks.