Here's one I have tried:
SELECT tblInvoice.ClaimID, COUNT(tblInvoice.InvoiceID) AS TOTAL_INVOICES
FROM tblInvoice
GROUP BY tblInvoice.ClaimID
HAVING COUNT(tblInvoice.InvoiceID) > 1
AND tblInvoice.IsPartial = 'TRUE'
I get the following error, which I understand but I can't figure out where...
I have had a go myself using the GROUP BY and HAVING clause but no cigar. I will paste in a copy of what I have tried so far tomorrow for you to take a look at.
Thanks
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.