Hi there,
I would like to know how to get rows with duplicate values in certain
columns. Let's say I have a table called "Songs" with the following
columns:
artist
album
title
genre
track
Now I would like to show the duplicate songs to the user. I consider
songs that have the same artist and the same title to be the same song.
Note: All columns do not have to be the same.
How would I accomplish that with SQL in SQL Server?
Thanks to everyone reading this. I hope somebody has an answer. I've
already searched the whole newsgroups, but couldn't find the solution.
I would like to know how to get rows with duplicate values in certain
columns. Let's say I have a table called "Songs" with the following
columns:
artist
album
title
genre
track
Now I would like to show the duplicate songs to the user. I consider
songs that have the same artist and the same title to be the same song.
Note: All columns do not have to be the same.
How would I accomplish that with SQL in SQL Server?
Thanks to everyone reading this. I hope somebody has an answer. I've
already searched the whole newsgroups, but couldn't find the solution.
Comment