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 - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -