I am trying to write a query in SQL server to find out if there are any multiple rows for each customer by customerID. Please let me know.
Here is the table structur
You can use a GROUP BY query to achieve this:
select CustomerID, count(*) as NumDuplicates from Customer group by CustomerID having count(*) > 1