English, asked by douda3282, 10 months ago

Write a query to find the all duplicate name from table

Answers

Answered by yogesh74510
3

Explanation:

SQL Query to find the duplicate records in the table in MySQL.

1. mysql> select * from contacts ;

2. mysql> select name , count ( name ) from contacts group by name ;

3. mysql> select name , count ( name ) from contacts group by name ; phone ;

Similar questions