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
select CustomerID, count(1) from Customer group by CustomerID having count(1) > 1