MySQL Forums
Forum List  »  Newbie

Re: How to filter find duplicate and show row with same field?
Posted by: Phillip Ward
Date: September 30, 2021 04:27AM

Sounds a mite like a Homework assignment to me so I won't jump straight to an answer.

You'll need to use the "group by" and "having" clauses of the select statement to find the rows where each name appears more than once.

Having found that set of rows, you'll need to use the name to go back to the original table and pull all of the data you want.

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to filter find duplicate and show row with same field?
September 30, 2021 04:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.