I thought I'd explain it a little better:
There are tables ProdOrder and ProdOper.
ProdOrder
=======
OrderNum
1001
1002
ProdOper
=======
OrderNum, PosNum
1001, 500
1001, 510
1002, 600
1002, 610
How do I select, from ProdOper, only the rows with the highest PosNum? It's a Progress database.