Hi All!
I’m sure this will be a very basic piece of sql for most of you. I am just starting out in the world of development and have come across a problem that I need help with.
Basically, I have one table ( tblInvoice ) and I need to find duplicates within.
The tblInvoice has three columns –
invoiceID (int)
ClaimID (varchar)
IsPartial (bool)
There may be multiple invoices for a single ClaimID
I need to find the total number of invoices grouped by ClaimID where IsPartial = True and there are more than ONE partial invoice for that ClaimID
Any help will be greatly appreciated and please don’t hesitate to ask any questions if I have not explained it properly.
Thanks!
I’m sure this will be a very basic piece of sql for most of you. I am just starting out in the world of development and have come across a problem that I need help with.
Basically, I have one table ( tblInvoice ) and I need to find duplicates within.
The tblInvoice has three columns –
invoiceID (int)
ClaimID (varchar)
IsPartial (bool)
There may be multiple invoices for a single ClaimID
I need to find the total number of invoices grouped by ClaimID where IsPartial = True and there are more than ONE partial invoice for that ClaimID
Any help will be greatly appreciated and please don’t hesitate to ask any questions if I have not explained it properly.
Thanks!