I want to pick the records with the minimum quantity per package_id
I have these data on TableA
package_id group_id quantity
1013 2 8
1013 3 6
1091 4 4
1091 2 8
1014 4 4
and I need to end up to this result
package_id group_id quantity
1013 3 6
1091 4 4
1014 4 4
I cannot have a simple Min() because it would Group By group_id as well so I will miss the point.
Thank you