It's a simple query, you can use Group by and having to achieve what you want.
Please refer: https://www.w3schools.com/sql/sql_having.asp
create table #temp
(
IssueID int,
SectionName varchar(50),
CategoryName varchar(50),
RequesterName varchar(50),
IssueDate date
)
insert into #temp values(123,'Maintenance','Other Alarms','Store 0009550','2017-05-17')
insert into #temp values(124,'Maintenance','Other Alarms','Store 0003561','2017-05-17')
insert into #temp values(125,'Maintenance','Other Alarms','Store 0009550','2017-05-17')
insert into #temp values(126,'Maintenance','Other Alarms','Store 0003561','2017-05-17')
insert into #temp values(127,'Maintenance','Target Move','Store 0003561','2017-05-17')
insert into #temp values(128,'Maintenance','Other Alarms','Store 0007426','2017-05-17')
insert into #temp values(129,'Maintenance','Target Move','Store 0007750','2017-05-17')
select * from #temp
declare @date1 date = '5-1-2017'
declare @date2 date = '6-2-2017'
;with cts as (
select
[CategoryName]
,[IssueDate],RequesterName
FROM #temp
WHERE [IssueDate] between @date1 and @date2
Group by CategoryName, [IssueDate],RequesterName having count(*)>1
)
select t.* from #temp t inner join cts ON t.CategoryName=cts.CategoryName and t.IssueDate=cts.IssueDate and t.RequesterName=cts.RequesterName order by t.RequesterName,t.IssueID
drop table #temp
Group ByandHaving Count(1) > 1to yourSelectstatementIssueDate, if it'sDateTime, you will need toCast as Dateto get same dates.