S
susanne in new jersey
I have a table that looks like this:
BILL_NUM LINE_NUM LINE_VER PAID
0001234 001 001 $100.00
0001234 001 002 $125.00
0001234 002 001 $100.00
I want my query to show only the last LINE_VER for each BILL_NUM's LINE_NUM.
I don't want to show LINE_VER 001 whenever LINE_VER 002 exist.
I am lost how to go about doing this.
BILL_NUM LINE_NUM LINE_VER PAID
0001234 001 001 $100.00
0001234 001 002 $125.00
0001234 002 001 $100.00
I want my query to show only the last LINE_VER for each BILL_NUM's LINE_NUM.
I don't want to show LINE_VER 001 whenever LINE_VER 002 exist.
I am lost how to go about doing this.