Strange... part of my post didnt post. I am trying to enter a subquery with 2 colums. 900 and 200 are the values that could be present in the entity column. If both are I want to subtract the trans_date values from the 900 and 200 (900 being the later date). The problem I am having is trying to get the trans_date from the row that has the largest rcvr_num.
The subquery doesnt work but the main query works fine without the subquery
*** Please allow me to mark threads as answered and I will, Thank you ***