INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Need to Capture MIN CLAIM ID - SQL Server

Need to Capture MIN CLAIM ID - SQL Server

(OP)
I need to capture records with the minimum claim ID where provider, diagnosis, and billed amount are the same but claim id and check id are different.
EXAMPLE:
CLAIM ID DOS PROVIDER DIAGNOSIS BILLED AMOUNT CHECK#
2001 02/05/2011 500 252.5 30.00 35
2015 02/05/2011 500 252.5 30.00 56

On this example, I would need to capture the record with Claims ID 2001.

Any help is greatly appreciated.

rb

RE: Need to Capture MIN CLAIM ID - SQL Server

This would be more for the sql server forum and I would imagine they will want a bit of detail about table structures etc

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244: How to get the best answers before you ask a question

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close