Find duplicate rows in SQL Server by multiple conditions -


my fields are

id | name | starttime | endtime | date | description 

i looking way select rows same entries in fields except id.

i not familiar sql tried this approach there 1 field relevant not (as in case) five.

my first idea try like:

select * table order name, date, starttime, endtime, description 

if through entries @ least find duplicates not best way solve problem.

this should need:

select name, date, starttime, endtime, description   table group name, date, starttime, endtime, description having count(*) > 1 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -