At 02:33 PM 6/21/2018, you wrote:
I mean specifically, which records (consumer PK and apphours) would you expect in your results?

There are two Consumers whose most recent (last) status is "Approved": Consumer PKs 1 and 3. The relevant Status records are Status PKs 2 (for Consumer 1) and 8 (for Consumer 3).

Of those two Consumers, only Consumer 3 has any Hours records at all. The value for Consumer 3's most recent (last) hours record is 12 (Hours record PK 4).

Thanks.

Ken


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to