Users Pricing

forum

Home Forums SQL Query to Find Repeat Customer – MindStick

SQL Query to Find Repeat Customer

Anonymous User 3800 22 Sep 2014

In an [orders] table, some rows have the same value for the Customer column meaning they are repeat customers.

ProductID            Customer

111                         Mr. John

333                         Mr. Rakesh

444                         Mr. John

777                         Mr. Shiva

999                         Mr. Rakesh

What can I do to find the repeat customer instead of product id different? I get the all customer which are repeated on the basis of customer Name.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md