Sql

Asked • 04/04/19

Select statement to find duplicates on certain fields?

Can you help me with SQL statements to find duplicates on multiple fields? For example, in pseudo code: select count(field1,field2,field3) from table where the combination of field1, field2, field3 occurs multiple times and from the above statement *if there are multiple occurrences* I would like to select *every record except the first one*.

1 Expert Answer

By:

Victor W. answered • 04/11/19

Tutor
New to Wyzant

Data Engineer at a FAANG company

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.