At 08:44 2014-06-05, [email protected] wrote:
[snip]
INSERT INTO Test VALUES (7, 6, DATE(2013,1,1), DATE(2013,1,11),
DATE(2013,6,1), '9', 'A2') && we want this ClaimID
Here you state you want ClaimID 7 ...
[snip]
A complete claim set is defined by the PCN, Admit, Disch, and
ProvNum fields. So the first 3 records are of the same claim
set. The 4th and 5th record are claimsets unto themselves. I want
a query that grabs that ClaimID from the unique sets, so the output
would be 3 for the A group, 90 for B group, and 81 for C group.
... and here you state you want ClaimID 3.
Which is it?
If it is ClaimID 3, is that because it is the smallest value?
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
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.