You caught me Gene. I had changed it after copying/pasting. Problem solved though. Thanks anyway.

On 2014-06-06 12:26, Gene Wirchenko wrote:
At 08:44 2014-06-05, mbsoftwaresoluti...@mbsoftwaresolutions.com 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


[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
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/3607ac257a8e61849bda2c1225d06...@mbsoftwaresolutions.com
** 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