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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -